La j'ai vraimment tout essayé, je comprend plus !!
je vous explique :
j'ai une url de la forme :
http://www.surf-bzh.com/coppermine_dir/displayimage.php?album=topn&cat=0&pos=0
et je voudrais la transformer de la facon suivante :
http://www.surf-bzh.com/coppermine_dir/photos-surf-topn-0-0.html
donc dans mon fichier htacces, j'ai fais un truc du genre :
RewriteRule ^coppermine_dir/photos-surf-([a-z0-9]+)-([0-9]+)-([0-9]+).html$ /coppermine_dir/displayimage.php?album=$1&cat=$2&pos=$3
mais ca ne marche pas, et je vois pas pourquoi ?
:cry:
alors que ca marche tres bien avec une variable en moins ex :
http://www.surf-bzh.com/coppermine_dir/displayimage.php?album=47&pos=3
et
http://www.surf-bzh.com/coppermine_dir/photos-surf-47-3.html
:wink:
je vous explique :
j'ai une url de la forme :
http://www.surf-bzh.com/coppermine_dir/displayimage.php?album=topn&cat=0&pos=0
et je voudrais la transformer de la facon suivante :
http://www.surf-bzh.com/coppermine_dir/photos-surf-topn-0-0.html
donc dans mon fichier htacces, j'ai fais un truc du genre :
RewriteRule ^coppermine_dir/photos-surf-([a-z0-9]+)-([0-9]+)-([0-9]+).html$ /coppermine_dir/displayimage.php?album=$1&cat=$2&pos=$3
mais ca ne marche pas, et je vois pas pourquoi ?
:cry:
alors que ca marche tres bien avec une variable en moins ex :
http://www.surf-bzh.com/coppermine_dir/displayimage.php?album=47&pos=3
et
http://www.surf-bzh.com/coppermine_dir/photos-surf-47-3.html
:wink: