How can we remove “unused”/no long used calls when loading the homepage?
How can we remove “unused”/no long used calls when loading the homepage?
How can we remove “unused”/no long used calls when loading the homepage?
Some of the things I have to double-check when I install an SSL certificate on a WordPress website are: Define SSL settings in wp-config.php to override WordPress database settings /** SSL Security */ define(‘FORCE_SSL_LOGIN’, true); // Secure user registration/login forms after installing valid SSL define(‘FORCE_SSL_ADMIN’, FORCE_SSL_LOGIN); // Secure WordPress admin dashboard /** Site Domain */ … Read more
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
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
The code you used should work. BTW to me, as the code is not working, the best approach would be to unset the og:url from Jetpack and do it on your own? I’m taking your code and adding mine and editing where necessary: <?php /** * Change HTTPS to HTTP * @param string $url Default … Read more
Try this in your wp-config.php define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com’); This basically hard-codes the WordPress options for siteurl and home, which will means WordPress will redirect all requests to those URLs. This won’t change any permalinks in any content that you have in your site — to do this I’d recommend using a plugin like WP Migrate DB … Read more
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
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 ); }
It turned out to be Wordfence causing the issue.
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.