If you are using Domain Mapping plugin doing this will quickly achieve exactly what you are asking for.
-
Go to: YOURDOMAIN/wp-admin/tools.php?page=domainmapping
-
Under: Excluded pages, check: Force SSL for all pages.
-
Save and you’re done.
Your insecure mixed content error due to admin-ajax.php loading via http instead of via https should be gone after this.
Related Posts:
- SSL breaks customizer: page isn’t returned from ajax
- AJAX requests broken due to HTTPS for wp-admin
- Images loading over http instead of https
- How do you redirect HTTPS to HTTP?
- Why is WordPress redirecting from http to https on a local environment?
- Force HTTPS using .htaccess – stuck in redirect loop
- Detecting post type within init action
- How to redirect url requests to https? [closed]
- WordPress redirect loop on nginx + apache reverse proxy
- Mixed Content with SSL, wordpress behind a reverse proxy
- https multiple redirects
- WordPress Redirecting HTTPS Requests to HTTP
- Infinite loop behind SSL proxy on non-standard port
- Force redirect not logged in user to (wp-login.php or wp-admin) for specific page
- What is the right way to redirect all traffic to HTTPS?
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- How can I set cookies on both secure and non-secure origins at the same time?
- Too many redirects after added SSL redirect on port 80 virtual host
- ReDirect subfolder link to another sub-folder and force SSL
- Ajax login without redirect/reload
- Force redirect single.php to index
- Get returned URL from wp_remote_post if response code is 302
- Why does check_ajax_referer give a 403 error on https websites?
- WordPress CSS/Theme gone after SSL got activated
- My site doesn’t redirect from HTTP to HTTPS
- Only execute function if SSL is set up properly
- HTTPS to HTTP rewrite rules not working as expected
- I get “too many redirects” problem when migrating localhost site
- Moving site from HTTP to HTTPS
- Usage of wp_send_json_success and wp_redirect at the same time
- How to force HTTP and stop SSL completey on WordPress website
- Logout and redirect WordPress user id without he refresh the page
- SSL Error: unable to get local issuer certificate
- How to redirect all HTTP requests to HTTPS
- https connection using CURL from command line
- PHP “php://input” vs $_POST
- Curl command for https ( SSL )
- nodejs – error self signed certificate in certificate chain
- Google Maps API throws “Uncaught ReferenceError: google is not defined” only when using AJAX
- Simple Java HTTPS server
- HTTPS connection Python
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Access-Control-Allow-Origin error sending a jQuery Post to Google API’s
- Access-Control-Allow-Origin error sending a jQuery Post to Google API’s
- How to solve the error “SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.” in IE
- Show spinner GIF during an $http request in AngularJS?
- Refresh HTML Page in Browser Automatically on Timer – Every 15 Min
- Could not establish secure channel for SSL/TLS with authority ‘*’
- Python requests SSL error – certificate verify failed
- JavaScript implementation of Gzip
- How to manage a redirect request after a jQuery Ajax call
- jQuery: Performing synchronous AJAX requests
- ASP.NET MVC controller actions that return JSON or partial html
- How can I force users to access my page over HTTPS instead of HTTP?
- jQuery’s .on() method combined with the submit event
- How to force Laravel Project to use HTTPS for all routes?
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- Ajax takes 10x as long as it should/could
- How to check if I am in admin-ajax.php?
- Best way to end WordPress ajax request and why?
- How to load wp_editor() through AJAX/jQuery
- SSL Breaks WordPress CSS
- Setting $_SERVER[‘HTTPS’]=’on’ prevents access to wp-admin
- How to cache json with wp-super cache
- Load minimum WordPress environment
- Why use wp_send_json() over echo json_encode()?
- Why use admin-ajax.php and how does it work?
- Disable SSL / HTTPS for wordpress
- How to get a unique nonce for each Ajax request?
- Open a Thickbox with content trough AJAX
- Switching MultiSite installation from HTTP to HTTPS
- Initialize TinyMCE editor / visual editor after AJAX insert
- Why not register shortcodes if is_admin dashboard?
- WordPress AJAX with Axios
- Why is die() used at the end of function that handles an Ajax request?
- Why might a plugin’s ‘do_shortcode’ not work in an AJAX request?
- Making my AJAX powered WordPress Crawlable
- Is there a JavaScript API? How to access public and private data in JS?
- Get Previous & Next posts by Post ID
- failed to load wp-admin/admin-ajax.php
- Using Backbone with the WordPress AJAX API
- Using Ajax with a Class file
- Ajax in a settings page (update_option is undefined)
- How to pass data parameter to ajax action function handler
- WordPress Ajax Data Security
- Displaying PHP Errors from admin-ajax.php
- wp_set_auth_cookie() doesn’t work in Ajax call
- gettext does not translate when called in ajax
- Is there a way to force ssl on certain pages
- Execute one AJAX request after another AJAX request finished
- WP-AJAX vs WP REST API: What to use for requests to the website from outside?
- Ajax and autocomplete
- How can I make an Ajax login form work with FORCE_SSL_ADMIN enabled?
- How to add to cart via AJAX Woocommerce [closed]
- SSL redirect loop using WordPress HTTPS Plugin
- Nonces and Cache
- Why is a 500 error generated by admin-ajax.php not going into the Apache error log?
- Stop WordPress and Plugins from Overwriting .htaccess
- Are ‘wp_ajax’ and ‘wp_ajax_nopriv’ exclusive to authenticated and non-authenticated users?