Forum Moderators: phranque

Message Too Old, No Replies

.htaccess mod rewrite all of a sudden not working

         

Enigma5

9:53 pm on Jul 1, 2010 (gmt 0)

10+ Year Member


Hey everyone. I run www.thinkcomputers.org and around 6 months ago we moved the entire site over to wordpress. We have over 1000 reviews and we have been slowly moving them over to the new site. Old reviews are coded like the following:

http://www.thinkcomputers.org/index.php?x=reviews&id=933

the code in my .htaccess file for the rewrite looks like this...

RewriteCond %{QUERY_STRING} [&]?x=reviews&id=933[&]?
RewriteRule ^index.php$ http://www.thinkcomputers.org/asus-p6t-intel-x58-lga-1366-motherboard-review/? [R=301,L]

That code had been working for a while but up until recently it returns: http://www.thinkcomputers.org/?x=reviews&id=933 instead of http://www.thinkcomputers.org/asus-p6t-intel-x58-lga-1366-motherboard-review/.

Any reason why it might be doing this?

Here is a link to the .htaccess file: http://www.thinkcomputers.org/enigma5/htaccess.txt

jdMorgan

1:48 am on Jul 10, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What did you change recently that made that code stop working?
If you changed nothing, then ask your hsot what they changed recently.

Jim