Advanced search  

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

Pages: [1]   Go Down

Author Topic: Url rwriting coppermine  (Read 4553 times)

0 Members and 1 Guest are viewing this topic.

bertot

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Mongolia travel pictures
Url rwriting coppermine
« 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
« Last Edit: October 17, 2005, 08:29:35 am by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Url rwriting coppermine
« Reply #1 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

steverobbins

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 35
  • photographer
    • Steve Robbins' Personal Website
Re: Url rwriting coppermine
« Reply #2 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.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Url rwriting coppermine
« Reply #3 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Url rwriting coppermine
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.