How to redirect site from http to https?

Author Topic: How to redirect site from http to https?  (Read 220 times)

Offline AdityaM7Topic starter

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 1
  • Karma: 0
How to redirect site from http to https?
« on: 08-08-2017, 01:58:57 »
I have purchased SSL certificate for my site.

But I have more than 1 site purchased from go daddy. So whenever I add htaccess file to my site, the other sites, stop working.

What should I do?

I have talked many times to customer support but this problem never gets solved.

My site is working on both URLs http & https.

Suggest something.

Offline Sojan Babu

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 0
  • Posts: 15
  • Karma: 0
Re: How to redirect site from http to https?
« Reply #1 on: 08-11-2017, 01:58:46 »
Using the following code in your .htaccess file automatically redirects visitors to the HTTPS version of your site:

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

Offline seoanubhavgarg

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 4
  • Karma: 0
  • Gender: Male
  • SEO & Digital Marketing Consultant
    • SEO Service in India
Re: How to redirect site from http to https?
« Reply #2 on: 08-11-2017, 06:06:46 »
Hello AdityaM7,

I was facing the same issue with SSL for my DataEntryAdroits domain but this issue has been resolved.

One Note for you here buddy - .htaccess does not work in GoDaddy, you need to upload the web.config file.

But before that, please see the below points to check if your domain fulfills the criteria.

First, add SSL Verified seal on your website footer - See the image as attached

Second: remove all images that are being called on your website from any third party URL and also remove all (http)  - unsecured URLs from your domain

Third: apply this code to your web.config file

   <rule name="HTTP to HTTPS redirect" stopProcessing="true">
   <match url="(.*)" />
      <add input="{HTTPS}" pattern="off" ignoreCase="true" />
   <action type="Redirect" redirectType="Permanent" url="{R:1}" />

You can simply place the main domain by replacing or if your preferred search domains s, then replace it with simply

After all, those, upload the web.config file to ftp in public_html folder.

That's it. You are all set to go :)

Good Luck

Co-Founder & Director - MysticDigi, SEO Service in India & Data Entry Adroits
Founder & Director - Search Engine Stream


Related Topics

  Subject / Started by Replies Last post
6 Replies
Last post 09-06-2014, 00:40:45
by seoconsult01
5 Replies
Last post 09-19-2014, 03:09:54
by Roy Milson
0 Replies
Last post 04-25-2015, 23:00:10
by immediate
0 Replies
Last post 11-22-2016, 04:51:01
by mahisharma2
0 Replies
Last post 07-19-2017, 07:24:05
by mariya