coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: binocle on April 25, 2004, 05:40:55 PM

Title: coppermine and url rewriting
Post by: binocle 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 ? ;)


Title: Re: coppermine and url rewriting
Post by: binocle on April 26, 2004, 02:50:28 PM
thank you  :(
Title: Re: coppermine and url rewriting
Post by: Joachim Müller 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
Title: Re: coppermine and url rewriting
Post by: binocle 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 ....  :-[
Title: Re: coppermine and url rewriting
Post by: Joachim Müller on May 06, 2004, 08:23:41 AM
http://forum.coppermine-gallery.net/index.php?topic=1021.0