1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SSL / HTTPs transfer question

Discussion in 'White Hat SEO' started by Burberry, Aug 21, 2015.

  1. Burberry

    Burberry Registered Member

    Joined:
    Apr 16, 2012
    Messages:
    69
    Likes Received:
    5
    Hi BHW,

    I just installed a SSL certificate on my site and changed my site to https , however, now all my links in Google search listings are redirecting to my home page. How do I fix this or what is the proper way to transfer my site to https?

    I also noticed that my google analytics/webmaster tools still show my site as http and I'm not sure how to get Google to pick up that I now have SSL.

    Any help is appreciated, thank you all in advance.
     
  2. metafser

    metafser Regular Member

    Joined:
    Jul 20, 2014
    Messages:
    449
    Likes Received:
    269
    Gender:
    Male
    Occupation:
    Digital Marketing Influencer
    Home Page:
    The best way is 301 redirection and do it quickly. Otherwise your site can hurt. :)
     
    • Thanks Thanks x 1
  3. Burberry

    Burberry Registered Member

    Joined:
    Apr 16, 2012
    Messages:
    69
    Likes Received:
    5
    I reverted the site back to non-https for now so that it doesn't hurt. Can you clarify on the 301?
     
  4. ghackseo

    ghackseo Regular Member

    Joined:
    Mar 18, 2015
    Messages:
    283
    Likes Received:
    72
    RewriteCond %{HTTPS} on
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

    Jam it in your .htaccess
     
    • Thanks Thanks x 1
  5. Burberry

    Burberry Registered Member

    Joined:
    Apr 16, 2012
    Messages:
    69
    Likes Received:
    5
    Thanks a lot for the help. Will give it a try a little later today!