howto: all cp/wp - ssl rev 25 may 2019 > overview | steps | sources ....................................................... overview: Ideally: 1. Install SSL certificate for the site on the server 2. Manually install WordPress/ClassicPress 3. Go to your website and do all the WP settings for SSL But will work if you install first, will just have to change settings and database after. https://wordpress.stackexchange.com/questions/337862/the-correct-order-of-manual-install-wp-and-ssl-on-server ....................................................... steps: 1. Settings >> General WordPress Address (URL) https://www.example.com Site Address (URL) https://www.example.com (you will get logged out. just log back in.) 2. .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 3. wp-config.php define('FORCE_SSL', true); define('FORCE_SSL_ADMIN',true); 4. if site already has content: database - change page urls to https - you can find out which content is served through insecure protocol (and other issues as well) with Inspector - Console tab. - to fix, use plugin Better Search and Replace or do mysql query with replace() function. 5. Check theme and plugins for http calls. 6. If you’re still getting mixed content errors, then use plugin to change http calls to resources to https. SSL Insecure Content Fixer (Cloudflare recommends this one) Really Simple SSL ....................................................... sources: * Using SSL in WordPress https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/ * Changing your WordPress database URLs to https using a plugin plugin Better Search and Replace https://help.dreamhost.com/hc/en-us/articles/360003300591-Changing-your-WordPress-database-URLs-to-https-using-a-plugin * Using SSL cert with WordPress - Dreamhost https://help.dreamhost.com/hc/en-us/articles/218428687-How-do-I-use-an-SSL-certificate-with-WordPress- * Using SSL cert with WordPress and Cloudflare - Dreamhost https://help.dreamhost.com/hc/en-us/articles/360003360511-Using-Cloudflare-with-an-SSL-certificate-and-WordPress _______________________________________________________ since: 26 oct 2018 -- 0 --