coppermine and url rewriting coppermine and url rewriting
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

coppermine and url rewriting

Started by binocle, April 25, 2004, 05:40:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

binocle

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 ? ;)



binocle


Joachim Müller

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

GauGau

binocle

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 ....  :-[

Joachim Müller