Apache rewrite rule help - dynamic url to static page
I'm having an issue with a rewrite rule I'm trying to create in a .htaccess file:
Code:
RewriteEngine on forum.example.com/showthread.php?t=1234 Redirect internally to static.htm I'm trying to do this in order to stop any database queries from occuring for this one forum thread. However, everytime I try to implement this, .htaccess breaks the forum completely. Any help is greatly appreciated. Thanks, Michael |
What about this:
Code:
RewriteEngine on RewriteCond %{QUERY_STRING} ^t=[^&]+ |
That doesn't work either, for reasons unknown to me. It causes the entire site to break.
Michael |
Do you have any other rules in there? Actually, do any rules work? Maybe you don't have mod_rewrite enabled...
|
All times are GMT -5. The time now is 01:49 AM. |