coppermine-gallery.com/forum

Support => Looking for Freelancers / Paid help => Topic started by: bertot on October 02, 2005, 12:53:38 PM

Title: Url rwriting coppermine
Post by: bertot on October 02, 2005, 12:53:38 PM
First of all, sorry for my english but I am French.
I have began to use Coppermine and it seems great.
I want to install an url rewriting mod on my coppermine mostly to have a better searchengine ranking.

But before to install it I was wonderng if it could be possible to get such kind of adresses :
http://www.mywebsite.com/coppermine/title-of-the-album/title-of-the-picture

instead of
http://www.mywebsite.com/coppermine/album/17/img/27

If it could be possible , it would be wonderfull ... it surely will help a lot for a better ranking on all engines.

thanks for your answer

Of course I am willing to pay for this service.

Joachim
Title: Re: Url rwriting coppermine
Post by: Stramm on October 02, 2005, 01:10:56 PM
There's a french support board as well... just in case you feel more comfortable there ;)

I haven't tried such a mod yet but I'm sure it can't do that out of the box. The htaccess file can't know about the album title. You'll have to tell it. To redirect the ID on the other hand is easy to do.

And if you plan to do that. Then you have to adapt your htaccess with each album you create.  You have to add checks so that no 2 albums get created with the same name. If you have a lot of albums you'll have a blown up htaccess and that may slow down your entire setup. The webserver checks the htaccess file with each request... means for each thumb, icon etc it parses that file. With only a few albums no problem but with some more... I won't do it
This was just for the album. If you now want to do this for the picture as well. No, won't work
Title: Re: Url rwriting coppermine
Post by: steverobbins on October 02, 2005, 01:50:39 PM
Hi there,

Sounds very complicated to change the .htaccess file for all that, have you considered this route: http://forum.coppermine-gallery.net/index.php?topic=18749.0

Regards
Steve.
Title: Re: Url rwriting coppermine
Post by: Tranz on October 02, 2005, 04:32:24 PM
Coppermine v1.4 includes a plugin that creates search engine friendly URL. It uses .htaccess but I don't think it creates an entry for each picture but rather, uses variables.
Title: Re: Url rwriting coppermine
Post by: Joachim Müller on October 03, 2005, 07:29:27 AM
There are apps that modify .htaccess on the fly (e.g. WordPress), but this can be tricky. Coppermine doesn't do this currently, and I don't think it makes sense on per-pic level.