The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Switching to HTTPS

    Switching to HTTPS

    Technical SEO Issues
    4 3 83
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SeanConroy
      SeanConroy last edited by

      Hey Moz Community!

      I am about to switch my website from http to https. I am wondering if I need to create a 301 redirect of every single page on my site, from the http address to the https url? Or if setting one master that redirects all traffic to the https version. Obviously I am concerned about losing rankings by switching.

      Code for https redirect of all

      RewriteEngine On
      RewriteCond %{HTTPS} off
      RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]

      1 Reply Last reply Reply Quote 1
      • Alick300
        Alick300 last edited by

        Hi Sean,

        I'm sharing a step by step article on switching to https

        http://searchengineland.com/http-https-seos-guide-securing-website-246940

        hope this helps you.

        Thanks

        1 Reply Last reply Reply Quote 3
        • Martijn_Scheijbeler
          Martijn_Scheijbeler last edited by

          Hi,

          No you should be able to set up a general redirect for every page on your site to its new version on HTTPS. Two weeks ago we made the move with TNW to move to HTTPS. I wrote a blog post about it with a long checklist, check it out: https://thenextweb.com/insider/2017/02/02/marketing-the-tnw-way-18-migrating-to-https/

          Martijn.

          SeanConroy 1 Reply Last reply Reply Quote 2
          • SeanConroy
            SeanConroy @Martijn_Scheijbeler last edited by

            Appreciate the link. Wondering if you know anything about the code used to redirect all of it in your htcaccess file? I'm glad to hear I don't need to create a hundred redirects, but do want to make sure I am using the correct apache code to do for all.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Our site recently switched from http to https. Do I still need to setup a redirect for the incoming links pointing to http?
              Andy.Drinkwater
              Andy.Drinkwater
              0
              5
              81

            • Will Switching to HTTPS Lower My Domain Authority?
              KaneJamison
              KaneJamison
              0
              3
              1.9k

            • Bigcommerce only allows us to have https for our store only, not the other pages on our site, so we have a mix of https and http, how is this hurting us and what's the best way to fix?
              aarongray
              aarongray
              0
              2
              178

            • Moving to https
              RobertJakobson
              RobertJakobson
              1
              5
              129

            • What do I need to do for HTTPS switch in Webmaster Tools?
              EcommerceSite
              EcommerceSite
              1
              5
              100

            • Switching site from http to https. Should I do entire site?
              rayvensoft
              rayvensoft
              1
              5
              592

            • Authority site drastic ranking drop after google https switch. Please Help!
              evolvingSEO
              evolvingSEO
              0
              6
              2.2k

            • I have a site that has both http:// and https:// versions indexed, e.g. https://www.homepage.com/ and http://www.homepage.com/. How do I de-index the https// versions without losing the link juice that is going to the https://homepage.com/ pages?
              fthead9
              fthead9
              0
              3
              729

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy