Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

HTTP to HTTPS Redirect automatically with htaccess code

Redirect HTTP to HTTPs

If you Using SSL to your site. Your site may not redirect Automatically until Use Redirect code.  This Redirection is Successfully working in Godaddy Hosting.  Redirect HTTP to https htaccess WordPress, Redirect HTTP to https GoDaddy. Works with Most of the Hostings.

A simple solution to using code in your cPanel to auto redirect any webhost with htaccess. Follow below there is Step by Step methods to How to do Redirection. Careful at .htaccess . Backup before the process. Avoid your SEO errors of redirection problem of SSL, Here you go Easy methods Redirect HTTP to HTTPS.

  • Go to .htaccess file in Hosting Linux, cPanel
  • Copy the Below Code

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

  • Paste the code, below Rewrite engine on 
  • Save and Exit

Note: Take care at .htaccess

copy/Backup the before process

Do not duplicate RewriteEngine On

Make sure that lines beginning RewriteCond and RewriteRule immediately follow the already existing RewriteEngine On

The post HTTP to Https Redirect Automatically with htaccess code appeared first on Drill SEO - Drill SEO, Pro Blogger, WordPress, Free SEO tools, search engine Optimization Service, Make Money Online, Tutorials..



This post first appeared on Drill SEO | Wordpress, Blogger, SEO, please read the originial post: here

Share the post

HTTP to HTTPS Redirect automatically with htaccess code

×

Subscribe to Drill Seo | Wordpress, Blogger, Seo

Get updates delivered right to your inbox!

Thank you for your subscription

×