Switching from "HTTPS" (SSL) to "HTTP" (Important Things!)


#1

If you configured ‘HTTPS’ (SSL) for your WordPress blog recently and if you are facing some issues, then you can refer these threads to fix them:

But, if you are not interested in using ‘https’ for your blog, and if you want to revert back, say migrate from ‘https’ to ‘http’, then there are some key things you should consider. Before proceeding, you can disable or uninstall the SSL certificate via your cPanel as well.

1. Editing wp-config.php file

Go to your blog’s wp-config.php file (root directory) via File Manager or FileZilla and add these:

define('WP_HOME','http://hellboundbloggers.com');
define('WP_SITEURL','http://hellboundbloggers.com');

Of course, replace that with your own domain name, with ‘http’.

2. Editing phpMyAdmin

You can go to your cPanel > phpMyAdmin > ‘Options’ table > search for ‘SiteURL’, you’ll find something like this:

You can edit both the ‘siteurl’ and ‘home’ option, replace ‘https’ with ‘http’ there. Save the options!

These two are very important.

Important Tip: Your browsers might still cause issues, so try this tweak for Chrome!

“Empty Cache and Hard Reload” a Website using Chrome’s Developer Tools

Uninstall all the ‘SSL’ plugins you installed, check all the ‘http’ to ‘https’ changes you made in the theme, Cloudflare changes, fix everything.

You can use the following .htaccess code to redirect ‘https’ to ‘http’ links.

# Redirect HTTPS to HTTP
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

This is not a complete proper guide to do the migration switch, but these are the basics, I’ll edit this post frequently, if you have any inputs, do kindly share as well. Thank you!