Forum Moderators: phranque

Message Too Old, No Replies

How to Block a specific [Query String] Url via .htaccess

         

eankit

7:14 pm on Mar 18, 2013 (gmt 0)

10+ Year Member



I'm very confused right now, I don't know how to block or redirect a specific QUERY STRING url via .htaccess file, well actually I want to redirect this type of url :

test.php?q=RANDOMTEXT=&tl=The%20path%20ends
to
example.com/newwebpage.html

If anyone knows how to solve this issue please let me know and thank you in advance

eankit

8:18 pm on Mar 18, 2013 (gmt 0)

10+ Year Member



Problem solved thank you all :)

g1smd

1:59 am on Mar 19, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It's a regular question here, so there's plenty of example code.

Post your solution, so that any reamining flaws can be corrected.