SSL setup: wp-login css doesn’t load over httpS

Got it solved. Turns out the server was hosted behind a reversed proxy, causing WordPress not knowing it was running over https. Once I knew this, I found the solutions in the official documentation: http://codex.wordpress.org/Administration_Over_SSL (under “Using a Reverse Proxy”) This was needed in my wp-config. define(‘FORCE_SSL_ADMIN’, true); if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’) $_SERVER[‘HTTPS’]=’on’

Enabling SSL on wordpress results in 404

I had exactly the same problem and the solution for me was to add these lines to /etc/apache2/sites-enabled/default-ssl.conf, which is my SSL-enabled website’s configuration file: <Directory /var/www/html/> AllowOverride All </Directory> Of course, this assumes DocumentRoot /var/www/html. Change accordingly if is this is different in your setup. The thing is that WordPress uses .htaccess rules to … Read more

I am locked out of my WordPress site after changing site URL from Http to Https

If you don’t have access to your cPanel, or don’t know how to make a database change, you can instead add these 2 lines to your wp-config.php file: define( ‘WP_SITEURL’, ‘http://example.com/’ ); define( ‘WP_HOME’, ‘http://example.com/’ ); You’ll of course want to change the urls to your actual urls. Just make sure you don’t have the … Read more

What’s the right move with SSL for user based site?

You either go site wide HTTPS, or should not bother with it in the first place. Should it be for all access or just for logged in users depends on the profile of your traffic. If most traffic will come from registered users, then just go unconditional HTTPS as doing it conditionaly just for logged … Read more

Adding https to wordpress website

I have recently solved my issue, I went on wordpress support, found my issue and how to fix it. I installed the SSL Insecure Content Fixer plugin and chose in the plugin settings for SSL Detection, the setting that was recommended. Then, I went to the settings and set my WordPress and site URL to … Read more

Favicon causes mixed content warning over SSL

After a little more reading via the WordPress Codex, I discovered that I was calling the favicon incorrectly. It should be called like this: <link rel=”shortcut icon” href=”https://wordpress.stackexchange.com/questions/240069/<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico” /> Using get_stylesheet_directory_uri() checks for SSL.

Images causing Mixed Content with SSL

Use the developer tools in Firefox (or Firebug) or Chrome or Safari or IE to see the errors with specific images. 1) You may need to change URLs of media items in the post/page content to https. Search RegEx is a good plugin to be able to search and replace (optionally with grep) through all … Read more