I have this url:
mysite.com?var=var&var2=var2&var3=var3
I would like to block this specific url but not in any way affect other query strings on the same base url.
Is it possible to do this?
Thanks,
|
I have this url:
I would like to block this specific url but not in any way affect other query strings on the same base url. Is it possible to do this? Thanks, | |||
|
feedback
|
|
You can use ModRewite to check for query strings and redirect or block a page. Using your example:
(There's an implicit AND between the RewriteCond statements) This would block ([F]) all pages (.*) that had all three of those querystring parameters and values. UPDATED to use more specific examples by the OP | |||||||||||||
feedback
|