How to force static assets with HTTP sources to load over HTTPS?

If assets are enqueued properly they are using the exact URL they are enqueued with. If the protocol in URL is hardcoded that causes mismatch issues you are seeing. For proper protocol support enqueued URLs need to be either: created with protocol-aware API function from WP API (most if not all functions that produce URLs … Read more

iHow to redirect all http traffic to https now that a SSL certificate is added?

You can replace your URLs in PHPMyAdmin instead – make sure you have backed up your database though. You’d need to change this code and run it: UPDATE wp_posts SET guid = replace(guid, ‘http://www.old-url.co.uk’,’https://www.new-url.co.uk’); UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.old-url.co.uk’, ‘https://www.new-url.co.uk’); You might be able to bypass this step if you have a secure … Read more

Adding SSL certificate to the front end of my site

I use https://wordpress.org/plugins/force-ssl/ and https://wordpress.org/plugins/http-https-remover/ This ensures that if I go to an http page I get redirected to https and that everything like images is requested over HTTPS.

SSL not working for checkout

When you force https in woocommerce it doesn’t always stick, try running this plugin. It worked for me with solving https problems in WordPress and WooCommerce. Also try Better WP Security which has security hardening for your WordPress site offers the option to force SSL on certain pages, or whole site. I also highly recommend … Read more

What are some best practices to clean up http mix content warnings?

From your screenshot, it looks like you are displaying images from another website (nga.gov), for example: http://images.nga.gov/?service=asset&action=show_preview&asset=120079 After checking out the links with the mixed content warning, I can see that SSL is set up for this website, which is good. However, their links still default to HTTP, for whatever reason. To fix this on … Read more

Generate all urls with https

This sounds like a bug in the plugin, and they should fix it. But if they don’t, you can always add a filter to home_url and change all http:// to https:// like so: add_filter( ‘home_url’, ‘wpse_259675_home_url’, 1000, 4 ); function wpse_259675_home_url( $url, $path, $orig_scheme, $blog_id ) { return str_replace( ‘http://’, ‘https://’, $url ); }

Cant enter admin page with SSL

Not sure what the exact problem here is but you could try adding the following line in wp-config.php file define(‘FORCE_SSL_ADMIN’, true); Let me know how this works out.