Connecting Tech Pros Worldwide Help | Site Map

rewrite in .htaccess

Newbie
 
Join Date: Jan 2008
Posts: 1
#1: Jan 21 '08
Hi,

I have been attempting to find a solution to a problem I have been having with what should be fairly strightforward. In my .htaccess I wish to put a rewriterule to replace /?page=york with /york. like this:

RewriteRule ^//?page=york$ /york

but this, and many variants failed to work, i.e. would still show the matched url

am i doing something silly here?
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,936
#2: Jun 4 '09

re: rewrite in .htaccess


Please see this thread.
Reply