Jump to content

Question Mark in URL


Joshua F

Recommended Posts

RewriteRule doesn't look at the query string. If you could adjust thread.php to work with

thread.php?123

(protip: $_SERVER["QUERY_STRING"]) then it's simple:

RewriteRUle forums.ws thread.php

 

Otherwise you'll need a RewriteCond

RewriteCond %{QUERY_STRING} ^(\d+)$
RewriteRule forums.ws thread.php?id=%1

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.