Forum Moderators: phranque
I am using this rewrite rule that works fine...
RewriteRule ^browse/([^/]+)/?$ /browse.php?id=$1 [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /browse\.php\?id=([^\ ]+)\ HTTP/
RewriteRule ^browse\.php$ /browse/%1? [R=301,L] how can I make the occasional URL show up differently eg...
/browse.php?id=249 to /newtitle instead of /browse/249.
Is this the correct way after applying the rule above
RewriteRule ^newtitle$ /browse/249 [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /browse/249\.php
RewriteRule ^browse/249\.php$ /newtitle [R=301,L] or should i do something to the 1st code above?
thanks
RewriteRule ^newtitle/?$ /browse.php?id=249 [L]
#
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /browse\.php\?id=249\ HTTP/
RewriteRule ^browse\.php$ /newtitle? [R=301,L]
Jim