How to force HTTP and stop SSL completey on WordPress website
You can force it in the .httaccess file # Force HTTP RewriteEngine On RewriteCond %{HTTPS} on RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
You can force it in the .httaccess file # Force HTTP RewriteEngine On RewriteCond %{HTTPS} on RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I use this for my htaccess force-SSL rule on my multisites (actually, on all sites). RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Not sure, but bet that off is better than !=on .A resource you can use to test htaccess rules is https://htaccess.madewithlove.com/ .
The first domain listed in your question has the wp-admin slug, the 2nd doesn’t. You shouldn’t be making that change. Hopefully it was just a typo, however if that’s what you’re actually doing that is likely your problem. Also, you should be changing all instances of the old domain http://20.210.236.41 to the new domain WITH … Read more
We do not want to replace our existing db, just run queries through SSL connection against that db from our WordPress. You can create new WPDB objects to connect directly to new MySQL/MariaDB instances, but there is no support for tunnels, it is a direct connection only. For anything else you’d need to proxy it … Read more
The problem seems to be that you can’t log into your multi-site and go to the “General Settings” page (Settings > General). Update both the “WordPress address” and “Site address” URLs to use the “https://” protocol rather than “http://”, as you can normally.
Disable the SSL plugin. Then check the htaccess file, removing any rewrites for SSL. You may also need to use a search/replace plugin (I like “Better Search and Replace”) to change all instances of https://www.yourdomain.com to http://www.yourdomain.com . Be aware that there will be implications of not having SSL; most current browsers will show a … Read more
WordPress stuck at Step 1 of setup behind nginx reverse proxy
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