Support Forum Support Forum GDPR Cookie Compliance Problems with admin-ajax.php. response codes 403 forbidden in pingdom

Topic Resolution: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Avatarfqeuskadi
    May 11, 2020 @ 7:59 am

    Hi Friends.
    A few days ago I started to use Cookie compliance plugin and It works prefectly.
    But I have a problem in my pingdom test.
    It shows a 403 forbidden response code .
    I´d appreciate your help about this.
    Many thanks

    Moove AgencyMoove Agency
    May 12, 2020 @ 9:27 am

    Hi @fqeuskadi,

    Thanks for using our plugins.

    It seems your admin-ajax.php is restricted on your server ( ). The admin-ajax.php should be whitelisted from restrictions, it’s widely used by many plugins.
    You can read more about the related topic here:

    For our GDPR plugin you can turn off the AJAX and enable the static script handler by adding the following line to your functions.php
    add_action( 'gdpr_cc_prevent_ajax_script_inject', '__return_true' );

    Hope this helps.

    May 12, 2020 @ 5:15 pm

    Hi Guys.

    I talked to my hosting service and they told me that their servers have a a restriction to wp admin for countries that are not Spanish speaking .
    So when I do a pingdom test, it returns a 403 code response.

    Many thanks for your help.


Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.