• When your main site is http, but admin is https, the plugin is not working in Firefox. (It is working in Chrome).

    The call to /wp-admin/admin-ajax.php?action=store_search is blocked by the browser due to a cross-domain origin request (http:// vs https://). The browser attemp a call to http://..wp-admin but is redirected to https://..wp-admin/ with an OPTIONS request, and that option request receives a Access-Control-Allow-Origin equal to the http version of the site.

    I don’t know how to fix this. I don’t have any other issues about this except with this plugin.

    https://wordpress.org/plugins/wp-store-locator/

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Cross-domain origin request makes sure he request comes from the same domain, and I think Firefox seems to see http vs https as a different domain and Chrome not.

    The URL you posted with the wp-admin in the URL are not complete, so I can’t see exactly what happens. Maybe the requests from the front-end to the admin-ajax are redirected to HTTPS in the htaccess file, and this breaks it? Can you share the URL where it happens?

    The only solution I find how to fix it are quite technical. So maybe it’s better if you ask your host if they can make the required changes.

Viewing 1 replies (of 1 total)

The topic ‘Plugin not working in Firefox when admin is in HTTPS’ is closed to new replies.