Title: Plugin not working in Firefox when admin is in HTTPS
Last modified: September 1, 2016

---

# Plugin not working in Firefox when admin is in HTTPS

 *  [marc4770](https://wordpress.org/support/users/marc4770/)
 * (@marc4770)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-in-firefox-when-admin-is-in-https/)
 * 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://](https://wordpress.org/support/topic/plugin-not-working-in-firefox-when-admin-is-in-https/?output_format=md)).
   The browser attemp a call to [http://](https://wordpress.org/support/topic/plugin-not-working-in-firefox-when-admin-is-in-https/?output_format=md)..
   wp-admin but is redirected to [https://](https://wordpress.org/support/topic/plugin-not-working-in-firefox-when-admin-is-in-https/?output_format=md)..
   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/](https://wordpress.org/plugins/wp-store-locator/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-in-firefox-when-admin-is-in-https/#post-7602507)
 * [Cross-domain origin request](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
   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](http://stackoverflow.com/questions/29721193/allowing-cross-origin-requests-for-http-and-https)
   [technical](http://stackoverflow.com/questions/1653308/access-control-allow-origin-multiple-origin-domains/).
   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.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

 * [Firefox](https://wordpress.org/support/topic-tag/firefox/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-in-firefox-when-admin-is-in-https/#post-7602507)
 * Status: not resolved