skip to Main Content

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


  1. Chosen as BEST ANSWER

    There are different ways to stop redirecting from HTTP to HTTPS

    1. Go to chrome://net-internals and select “HSTS” from the drop-down.
      Enter the domain name under the “Delete domain” and press the Delete button. Now clear your browser cache:

    Settings > Show advanced settings… > Privacy > Clear browsing data

    1. You can use rewrite rules to redirect https requests to HTTP inside of the subdirectory. Create a .htaccess file inside the tools directory and add the following content:
    RewriteEngine On
    RewriteCond %{HTTPS} on
    RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    

    Make sure that apache mod_rewrite is enabled.

    1. If you have access to Control Panel, then open CPanel

    Domains > Redirects > Select the Domain Name > Alter Redirects > change to HTTP from HTTPS > Redirect It


  2. 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 and home, and you should change those back to non-https.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search