I recently buy a domain that is teachingbrains.online and connect it with the free hosting by infinityfree. In the free hosting control panel there is an option of Softaculous Apps Installer from where I install WordPress to my website.
Main Problem:
Inside the WordPress Admin Dashboard at the general > setting of the website, there is an option of WordPress URL and Site URL which pre looks as
WordPress URL: http://teachingbrains.online/wp-admin/
Site URL: http://teachingbrains.online/
But I changed both URLs to https
WordPress URL: https://teachingbrains.online/wp-admin/
Site URL: https://teachingbrains.online/
Since I don’t have any SSL linked with my website hence whenever I tried to open my website or WordPress Admin Dashboard it shows me This site can’t provide a secure connection
2
Answers
There are different ways to stop redirecting from HTTP to HTTPS
Enter the domain name under the “Delete domain” and press the Delete button. Now clear your browser cache:
Make sure that apache mod_rewrite is enabled.
If you can access the database of your WordPress instance, you can have a look at the
wp_options
table through phpMyAdmin or something alike.You will find two fields, I think they are called
siteurl
andhome
, and you should change those back to non-https.