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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • 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 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 ( https://www.yourdomain.org/wp-admin/admin-ajax.php ). 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.

    Cheers!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Problems with admin-ajax.php. response codes 403 forbidden in pingdom’ is closed to new replies.