Contact Form 7 & Suspicious Query Strings Conflict & Fix Inside
-
I noticed that enabling Suspicious Query Strings rule in system tweaks conflicts with Contact form 7 and doesn’t allow it to run properly. To fix this I edited the following line in .htaccess
Find:
RewriteCond %{QUERY_STRING} ^.*(request|select|concat|insert|union|declare).* [NC]
Change it to:
RewriteCond %{QUERY_STRING} ^.*(select|concat|insert|union|declare).* [NC]
If you know why this is happening or if you have any better solution please share.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Contact Form 7 & Suspicious Query Strings Conflict & Fix Inside’ is closed to new replies.