another mod rewrite question

trying to educate myself here. I know there is a way to rewrite a url so that if it contains the following

website.com/index.php?page=locations

it would just turn it into

website.com/locations

This would work for anything that has the pattern index.php?page= correct? Any help with what the flags etc are? I have tried the below among many other things and can not get it to work

RewriteCond %{QUERY_STRING} index.php?page=
RewriteRule (.*) website.com/$1? [R=301]

View full post on Tycoon Talk

, ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved