Connecting Tech Pros Worldwide Help | Site Map

rewrite in .htaccess

  #1  
Old January 21st, 2008, 12:06 PM
Newbie
 
Join Date: Jan 2008
Posts: 1
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?

Last edited by kinklade; January 21st, 2008 at 12:33 PM. Reason: clarification
  #2  
Old June 4th, 2009, 08:29 PM
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,858
Provided Answers: 9

re: rewrite in .htaccess


Please see this thread.
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
URL rewrite in htaccesss arunj82 answers 1 August 23rd, 2008 08:50 AM
Redirect without changing `address` in your browser? howachen@gmail.com answers 12 October 10th, 2006 12:35 AM
need alt. Session auth. (.htaccess php_value) awebguynow answers 1 May 24th, 2006 03:45 PM
Is there anyway to make decisions in Htaccess. tommytx answers 5 November 23rd, 2005 03:09 AM