• Resolved pssst

    (@pssst)


    Hi all,

    while AIOS firewall (basic Version 5.1.4) – is active I get 403 Error for all links from my Google Ads campain. Disabling firewall solves the issu. But – suprise – I want to activate it again.

    Is there any hint wich rule cause this problem? Can I ad a extra rule for it or is there any tip to solve this issue with aktiv firewall?

    thx – marc

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pssst

    Can you please try disable once the 5g / 6g firewall rules from WP Security > Firewall > 6G Blacklist firewall rules and cross check if it works.

    Thread Starter pssst

    (@pssst)

    Hi@hjogiupdraftplus

    thx for your fast response!

    seems 5g and 6g is not the issue. figured out advanced Settings “Bad querry Strings” is an issue. if this is disabled 403 dosen′t ocure any more. but therefore now i get a https warning (browser – force to use https) – but https works on site without any problem. when accepting http page load it is loaded in https anyway – is this a browser issue?

    thx marc

    Thread Starter pssst

    (@pssst)

    Hi@hjogiupdraftplus,

    the https issu is caused by a strange https://google … href. at the ad′s link.

    but is it possible to enable the “Bad querry Strings” funktion an ad a custom rule maybe for https://google.com/* strings?

    thx – marc

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @pssst

    Sorry for late reply. If we add the custom rule inside bad query string htaccess section it might removed when ever again the htaccess rules gets applied.

    You can disable the bad query string, and the below code as Firewall > Custom rules. which do not added http and https as bad query string.

    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{QUERY_STRING} ftp:     [NC,OR]
    RewriteCond %{QUERY_STRING} mosConfig [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(globals|encode|loopback).* [NC,OR]
    RewriteCond %{QUERY_STRING} (\;|'|\"|%22).*(request|insert|union|declare|drop) [NC]
    RewriteRule ^(.*)$ - [F,L]
    </IfModule>
    

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘403 Error at Google Ads links with active AIOS Firewall’ is closed to new replies.