1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to move HTTP to HTTPS

Discussion in 'Site & Server Administration' started by dicksonwoo, Feb 9, 2018.

  1. #1
    I have a question: Most of my old sites are HTTP and all my backlinks are pointing to HTTP. However I have WHM/CPanel in my Servers and I enabled the AutoSSL/LetsEncrypt already. I do know i type https:// then it would work, but I still don't know how to transfer the HTTP to HTTPS smoothly, with the ranking and backlinks... Could anyone teach me about this please?
    SEMrush
     
    dicksonwoo, Feb 9, 2018 IP
    SEMrush
  2. JoeSpirit

    JoeSpirit Active Member

    Messages:
    474
    Likes Received:
    61
    Best Answers:
    2
    Trophy Points:
    53
    #2
    Your domain registrar should be able to help you with this.
     
    JoeSpirit, Feb 10, 2018 IP
  3. dicksonwoo

    dicksonwoo Well-Known Member

    Messages:
    406
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #3
    I write a .htaccess file and the content is:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R=301,L]


    And i see it works once I place it into the root folder. So is this the solution? Do I need to do something else? Thanks a lot for advice
     
    dicksonwoo, Feb 13, 2018 IP
  4. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    5,458
    Likes Received:
    1,017
    Best Answers:
    19
    Trophy Points:
    400
    #4
    A simple

    
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    
    Code (markup):
    should do.

    PS You may see a slight rating fluctuation, but as a rule, if anything, it should improve your ratings.
     
    qwikad.com, Feb 13, 2018 IP
  5. dicksonwoo

    dicksonwoo Well-Known Member

    Messages:
    406
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #5
    Thanks a lot!
     
    dicksonwoo, Feb 13, 2018 IP
  6. Sumit_Singh

    Sumit_Singh Active Member

    Messages:
    329
    Likes Received:
    19
    Best Answers:
    2
    Trophy Points:
    55
    #6
    Contact to your hosting provider for the same or the hosting company from which you want to take the SSL services and they will tell you the whole process how to enable it, and, .htacces file redirection to HTTPS is another part of the process but before that, you have to complete another process first.
     
    Sumit_Singh, Feb 13, 2018 IP