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]   Go Down

Author Topic: coppermine and url rewriting  (Read 2993 times)

0 Members and 1 Guest are viewing this topic.

binocle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • http://www.surf-bzh.com
coppermine and url rewriting
« on: April 25, 2004, 05:40:55 pm »

Hi

I would like using url rewriting with coppermine in order to have a better  google and other serach engines referencing.
 I'va maid a .htacces file :

RewriteEngine on
RewriteRule ^coppermine_dir/cat-photos-surf-([0-9]+).html$  /coppermine_dir/index.php?cat=$1
RewriteRule ^coppermine_dir/album-photos-surf-([0-9]+).html$  /coppermine_dir/thumbnails.php?album=$1
RewriteRule ^coppermine_dir/photos-surf-([0-9]+)-([0-9]+).html$  /coppermine_dir/displayimage.php?album=$1&pos=$2


And it works :

http://www.surf-bzh.com/coppermine_dir/cat-photos-surf-13.html
http://www.surf-bzh.com/coppermine_dir/album-photos-surf-1.html
http://www.surf-bzh.com/coppermine_dir/photos-surf-2-5.html

So now, i would like to know how to generate the rewrited url

any ideas ? ;)


Logged

binocle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • http://www.surf-bzh.com
Re: coppermine and url rewriting
« Reply #1 on: April 26, 2004, 02:50:28 pm »

thank you  :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: coppermine and url rewriting
« Reply #2 on: April 26, 2004, 05:00:54 pm »

allow days, not hours, this is not a hotline.
If people don't answer this usually means they don't know...

GauGau
Logged

binocle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • http://www.surf-bzh.com
Re: coppermine and url rewriting
« Reply #3 on: May 05, 2004, 05:41:30 pm »

ok, no problem,
but using url rewriting with coppermine could be really interesting...
I don't know PHP son i don't know where to look for ....  :-[
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.