I have some re-write/re-direct codes in my .htaccess file
They were working, Yet now they are not,
all help appreciated
RewriteCond %{REQUEST_URL} ^/auction_details.php$
RewriteCond %{QUERY_STRING} ^name=Thai-Folk-Art-and-Crafts-the-Prelude-to-Thailand-2013-World-Stand-Exhibition&auction_id=100530$
RewriteRule ^(.*)$ http://trade-th.com/29-thai-folk-art-and-crafts/details.html
rpkamp
June 11, 2013, 5:57pm
2
There is no such thing as %{REQUEST_UR[COLOR="#FF0000"]L[/COLOR]}
in Apache, that must be %{REQUEST_UR[COLOR="#FF0000"]I[/COLOR]}
(capital i, not lower L)
Also, you should replace ^(.*)$
with .?
since you’re not using the backreference you’re creating.
Thank you ScallioXTX,
I changed the code as per your advice, and all working perfectly,
thank you again for your help,
best wishes
rpkamp:
There is no such thing as %{REQUEST_UR[COLOR="#FF0000"]L[/COLOR]}
in Apache, that must be %{REQUEST_UR[COLOR="#FF0000"]I[/COLOR]}
(capital i, not lower L)
Also, you should replace ^(.*)$
with .?
since you’re not using the backreference you’re creating.