• I have a problem that I cannot figure out. I have an ajax request and it works fine on my Mac and iPhone, However, on a PC it does not work. I am using Chrome on my Mac and the PC.if gives a 403 error. Any idea why?

    wp_localize_script( 'product-finder-js', 'pf_ajax_obj', array(
            
           'ajax_url' => admin_url( 'admin-ajax.php' ),

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • A 403 Forbidden is a server response error usually due to some sort of security implementation. Does the site have any security plugins? What about .htaccess directives in place for security. Does the server have mod_security installed and activated on the server?

    Though I was able to access the file directly without any 403 Forbidden error with my personal computer using Firefox.

    Hello @husbandman,
    Were you able to fix your issue? Not seeing any 403 errors on https://montanashedcenter.com. Tested using Windows 10 – Edge,Firefox and Chrome.

    Are you using any caching, or optimizing plugins? If so, I would recommend clearing the cache and testing again. Sometimes these can cause unexpected errors after making code changes.

    Another thing that comes to mind is the network, I’ve ran into similar issues in the past where the network (using a VPN and having special firewall rules) is blocking the access to certain files.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘failed to load admin-ajax.php’ is closed to new replies.