Https to http redirect with .htaccess

April 18th, 2020 admin 203 Views 0 Uncategorised1 minute, 2 seconds

If you are unable to renew SSL for your website after expiry then this tutorial is most usefull for you because search engines will take time to change https:// to http:// so it is better to keep a redirect in .htaccess

1. Login into your FTP or Cpanel.

2. In that you will find a file named as .htaccess inside public_html

3. Right click and select edit now and add the below code to the file

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

4. After adding the above code to your .htaccess file please save it.

After completion of adding code when some one vists your site with https:// then they will be automatically redirected to http:// with out SSL site.

About The Author

admin

Leave Your Thoughts Here...

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.

Name *
Comment

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.