homepage Welcome to WebmasterWorld Guest from 184.73.87.85
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

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




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

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




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

Problem solved thank you all :)

g1smd




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

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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved