Jump to content

Querystring in a rewrite rule


wilsonf1

Recommended Posts

Hi!I have a rewrite rule that picks up a .htm page and puts the file name onto a querystring on a php page:RewriteRule ^([^/\.]+).htm$ page.php?for=$1 [L]Am I able to setup a new rule that looks for a set query string on the .htm file and rewrites to a different php file.So amazon.htm currently rewrites to page.php?for=amazonI want:amazon.htm?flag=true to write to newpage.php?for=amazon

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...