Forum Moderators: phranque

Message Too Old, No Replies

How can I replace %? and & in URL

mode rewrite

         

raschidt

4:57 pm on Mar 30, 2007 (gmt 0)

10+ Year Member



Hello.
I have an URL like:

[mysite.com...] 7

How can I change that address to get something like:

[mysite.com...]

?
Thanks

jdMorgan

5:09 pm on Mar 30, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You will need a RewriteMap, a cgi-script called by that RewriteMap, and a database for that script to look up the translation. This solution is only available if you have server config-level access, and cannot be implemented with .htaccess-only privileges.

See Apache mod_rewrite, and specifically the RewriteMap directive.

Jim