Url rwriting coppermine Url rwriting coppermine
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Url rwriting coppermine

Started by bertot, October 02, 2005, 12:53:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bertot

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

Stramm

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

steverobbins

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.

Tranz

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.

Joachim Müller

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.