Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2   Go Down

Author Topic: Better support for indexing by search engines  (Read 18189 times)

0 Members and 1 Guest are viewing this topic.

bsvee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • gallery.svee.org
Better support for indexing by search engines
« on: December 16, 2004, 10:16:50 pm »

Sorry if this is a duplicate request. It would be nice if I had a photo whose caption mentioned "Eiffel Tower" and had it show up in a Google search.

Barry
http://gallery.svee.org
« Last Edit: December 17, 2004, 06:50:52 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Better support for indexing by search engines
« Reply #1 on: December 16, 2004, 10:30:27 pm »

That's something that is up to Google. You can submit your site to be added to Google's search. You should read up on search engine optimisation to learn how to increase your chances of showing up in Google's results.

My gallery shows up in Google search without requiring additional "features" that you are requesting.
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Better support for indexing by search engines
« Reply #2 on: December 17, 2004, 04:49:55 am »

I have found that if you have your keywords and description proper then Google indexes CPG pages very well. Try http://www.google.com/search?q=tailor+bird+nest my site is right there in top 5 same is true for several other keywords from my site
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Better support for indexing by search engines
« Reply #3 on: December 17, 2004, 06:47:51 am »

among other things your google rank is based on relevance, the spider will visit less frequently if your page rank is low. Search engine optimization is a vast field that is discussed on many sites, there's no special setting you could possible make to get better results using coppermine. All "regular" hints on SEO apply to coppermine as well. Note that it's a myth that search engines shy away from database driven pages with dynamic content.

Joachim
Logged

bsvee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • gallery.svee.org
Re: Better support for indexing by search engines
« Reply #4 on: December 20, 2004, 03:36:36 pm »

My gallery shows up at it's top level with a Google search. I was refering to the search engine's ability to drill down to photos and captions within an album. Although for months my gallery can be located with Google, it would appear that captions within the gallery cannot be resolved with Google.
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Better support for indexing by search engines
« Reply #5 on: December 21, 2004, 05:06:56 am »

@bsvee Google does drill down to upto 3 levels deep on my install - the link above is a proof of the same :)
Logged
SANIsoft PHP applications for E Biz

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Better support for indexing by search engines
« Reply #6 on: December 21, 2004, 05:15:55 am »

One of the results from my googled pages from my gallery goes quite deep:
Home > Nature > Animals > SF Zoo > animals eating

And this is with me blocking google images bot. So only regular google can spider my gallery.
Logged

bsvee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • gallery.svee.org
Re: Better support for indexing by search engines
« Reply #7 on: December 21, 2004, 04:36:23 pm »

I'll take your word for it that Google will eventually drill down. From the log files I see Google accessing my web site and has done so for months. But again all of the searches that I do that resolve to my gallery only ever resolve to the top-most level, which I why I reached the conclusion that Google would never drill down. I've just tried a bunch of searches for things within my gallery but again I always hit the top level. Thank you all for your replies!  :)

bsvee
http://gallery.svee.org/
Logged

bsvee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • gallery.svee.org
Re: Better support for indexing by search engines
« Reply #8 on: December 21, 2004, 04:41:29 pm »

I would like to accept recognition for the "bonehead award". When I did a Google search of type "site:" I found that Google was all over the place. In the words of Rosanne Rosanadanna, "Never mind"  ::)

bsvee
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Better support for indexing by search engines
« Reply #9 on: December 22, 2004, 06:26:08 pm »

you need guts to publicly say you were wrong, your posting is very helpfull for others. Look through all the threads on the support board where a coppermine supporter has been the last poster that are not labelled as "solved": I'd say 90% of all those who were looking for support just didn't manage to say "your suggestion worked" or "I was wrong". After all you found out about this on your own, so I can only applaud your posting - I don't think you deserve a "bonehead award", but respect.

Joachim
Logged

LinkBliss

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
  • MapPoint
    • LinkBliss Text Ads Work
Re: Better support for indexing by search engines
« Reply #10 on: March 16, 2005, 07:32:15 pm »

That's all well and good, but there coul definitely be some enhancements to get better indexing by Google. I have had this site with lots of good inbound links --

http://www.google.com/search?q=site%3Arainbowseeker%2Eus

That simply won't get indexed except for the top page. With some mod_rewrite all the pages could end in .html with no ? or & in the URL and it would all be indexed. Has someone done this already? Otherwise I will do it.  ???

Eric

LinkBliss

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
  • MapPoint
    • LinkBliss Text Ads Work
Re: Better support for indexing by search engines
« Reply #11 on: March 16, 2005, 10:47:15 pm »

I already got it working somewhat.. not perfect but the url re-writes ought to allow it to get indexed deeper and faster.

=> http://www.rainbowseeker.us

I'm no expert at this, but here's the .htaccess file I came up with --
RewriteEngine On
RewriteRule tn-(.*)--(.*).html thumbnails.php?album=$2
RewriteRule di-(.*)--(.*)-(.*).html displayimage.php?album=$2&pos=$3

Manipulating the thumbnail link was pretty straightforward --

Code: [Select]
           $removechars = array("<", ">", "--", ",", "!", ":", "-", ".", "?", "/", "\\", "#");
            $urltitle = str_replace(" ", "_", trim(str_replace($removechars, "", $album['album_title'])));

            $params = array('{COL_WIDTH}' => $column_width,

                '{ALBUM_TITLE}' => $album['album_title'],

                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,

                //'{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
               '{ALB_LINK_TGT}' => "tn-".$urltitle."--{$album['aid']}.html",

I know this is not pretty, but here's the code for the displayimage links, I messed around with manipulating the caption string a bit --

Code: [Select]
               $removechars = array("<", ">", "--", ",", "!", ":", "-", "__", ".", "?", "/", "\\", "#", " ", "–", "&");
                //$urlcaption = str_replace(" ", "_", trim(str_replace($removechars, "", substr($thumb['caption'],0,5))));
                $capsplit = split("&ndash", $thumb['caption']);
                $urltitle = str_replace(" ", "_", trim(str_replace($removechars, "", substr(strip_tags($capsplit[0]),0,50))));
                $urltitle = trim(str_replace($removechars, "_", $urltitle));

                $params = array('{CELL_WIDTH}' => $cell_width,

                    //'{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}",
                    '{LINK_TGT}' => "di-".$urltitle."--$aid-{$thumb['pos']}.html",

Check it out at http://www.rainbowseeker.us/gallery/  ;D

Thanks,
Eric

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Re: Better support for indexing by search engines
« Reply #12 on: March 16, 2005, 11:17:08 pm »

If I find a lot of defaults on Coppermine, I can nothing to say about indexation !!!

So ...

Photos+Rouen > Sortons.Net is one the first page

Photos+Rouen+Muse > I'm the first

and for a lot of things ...

CPG is perfect, really. But url rewriting is good too ... maybe standard in so far versions :)

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Better support for indexing by search engines
« Reply #13 on: March 16, 2005, 11:27:35 pm »

CPG 1.4 has a plugin for search engine friendly URLs. It is included in coppermine as an introduction to plugins.

I don't think it should be standard in implementation. I don't know if I installed it, but I thought my gallery was broken when I saw the SEF URLs. My gallery does fine in search engines with the regular URLs. I would rather not use SEF, so it would better that it is an option rather than an imposition.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Better support for indexing by search engines
« Reply #14 on: March 17, 2005, 03:55:03 am »

I agree with Thu.  I have images indexed on Google without any SEF URLs.  The way to get crawled and indexed is to be a popular site, which means visiting other sites and posting your website links.  Until you get some traffic, you don't get noticed.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Better support for indexing by search engines
« Reply #15 on: March 17, 2005, 05:59:52 am »

I agree with Thu and Kego as well search for 'tarique' on Google and see ;) however the so called SEF are indeed User friendly and can be done in ways outlined above
Logged
SANIsoft PHP applications for E Biz

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Re: Better support for indexing by search engines
« Reply #16 on: March 17, 2005, 02:22:48 pm »

thanx for your answers

for me SEF url is perfect when I send to an artist it's url of his show

it's better to send > http://www.sortons.net/photos/moby-a-paris.htm (or something like that ...) that ... http://www.sortons.net/photos/thumbnails.php?=blallaallaa ...

Kego is right when he says SEF url is not for "few photos gallery traffic" ... but for me, with 4000 visits/day, it's a gadget which will be very practice :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Better support for indexing by search engines
« Reply #17 on: March 18, 2005, 05:57:07 pm »

another reason why this can not be implemented as default option within coppermine is: it will only work on apache, and only if your webhost will alow mod_rewrite. As coppermine is meant to work on other platforms as well, SEF urls will not go into the core files. If you don't want to wait for cpg1.4.x (and the SEF plugin it contains), I suggest you take a look at the mods board, I think someone has started a thread about mod_rewrite and SEF urls there.

Joachim
Logged

LinkBliss

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
  • MapPoint
    • LinkBliss Text Ads Work
Re: Better support for indexing by search engines
« Reply #18 on: March 20, 2005, 07:19:03 pm »

Aboslutely it should not "standard".. as people have said, it is infeasible.

However, take a look at the way Wordpress handles it. It is an option clearly in the configuration and it will automatically write the .htaccess file if it is writeable. It will also generate the htaccess settings and you can place it yourself.

You could go one step further and also write the ini file that would be needed on IIS, there is a cheap plug-in that is popular and similar (but just different enough) to mod_rewrite.

Eric Frost

spiros71

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 68
    • Greek translation
Re: Better support for indexing by search engines
« Reply #19 on: May 02, 2006, 12:32:11 am »

Does this hack work with 1.4.5? Which files have to be changed?
Pages: [1] 2   Go Up
 

Page created in 0.023 seconds with 19 queries.