Forum Moderators: phranque
example.com/index.php?page=<something> or example.com/?page=<something>.
example.com/page/<whatever>.html on the pages of your site. /index.php?page=<something> inside the server. example.com/index.php?page=<something> as well as example.com/?page=<something>. The target will this time be a URL (with domain name) rather than a server file. You'll need the [R=301] flag in addition to the [L] flag now.
index.php and passing a parameter of ?page=<something> to it should generate content. example.com/?page=<something> example.com/index.php?page=<something> example.com/WebFrame/page/<something> [edited by: jdMorgan at 9:12 pm (utc) on Mar 16, 2010]
[edit reason] De-linked localhost URL in RewriteRule. [/edit]
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /([^?]*)\?([^&]*&)*page=([^&]+)
RewriteRule ^ http://localhost/WebFrame/%1\.html? [R=301,L]
[edited by: jdMorgan at 7:08 pm (utc) on Mar 17, 2010]
[edit reason] de-linked localhost URL for clarity. [/edit]