WordPress.org

Forums

iThemes Security (formerly Better WP Security)
[resolved] Contact Form 7 & Suspicious Query Strings Conflict & Fix Inside (2 posts)

  1. drazon
    Member
    Posted 1 year ago #

    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.

    https://wordpress.org/plugins/better-wp-security/

  2. Georgy
    Member
    Posted 1 year ago #

    not working =\

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic