how do I use mod_rewrite for just one file?

Posted by Angela on Stack Overflow See other posts from Stack Overflow or by Angela
Published on 2009-06-15T21:51:55Z Indexed on 2010/05/09 20:08 UTC
Read the original article Hit count: 191

Filed under:
|

I want to use mod-rewrite for just one file instance:

www.domain.com/contact

to pull from www.domain.com/contact.php

I used a rewrite rule for all files that look like a directory to do this initially but it messed up some diretory redirects I created so in the short-term, I'd rather just do it for a specific file.

Thanks.

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about apache