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. What's the best way to deal with an entire existing site moving from http to https?

    What's the best way to deal with an entire existing site moving from http to https?

    Technical SEO Issues
    4 2 725
    • 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.
    • JasonCooper
      JasonCooper last edited by

      I have a client that just switched their entire site from the standard unsecure (http) to secure (https) because of over-zealous compliance issues for protecting personal information in the health care realm.

      They currently have the server setup to 302 redirect from the http version of a URL to the https version.  My first inclination was to have them simply update that to a 301 and be done with it, but I'd prefer not to have to 301 every URL on the site.

      I know that putting a rel="canonical" tag on every page that refers to the http version of the URL is a best practice (http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=139394), but should I leave the 302 redirects or update them to 301's.  Something seems off to me about the search engines visiting an http page, getting 301 redirected to an https page and then being told by the canonical tag that it's actually the URL they were just 301 redirected from.

      1 Reply Last reply Reply Quote 0
      • AlanBleiweiss
        AlanBleiweiss last edited by

        Jason,

        I've got financial clients with the same paranoia mentality.  Maybe they went to the same security conference.  As unpleasant as it is to perform 301 redirects, it's the right thing to do. Unless you think 3 months from now a new compliance officer will recognize the foolishness of the implementation and reverse it. Leaving 302s dangling isn't healthy.

        JasonCooper 1 Reply Last reply Reply Quote 1
        • JasonCooper
          JasonCooper @AlanBleiweiss last edited by

          Thanks for the fast response Alan.  So should I not put rel=canonical tags on the page that refer to the http versions of the URL and just do the 301's and suck it up?

          AlanBleiweiss 1 Reply Last reply Reply Quote 0
          • AlanBleiweiss
            AlanBleiweiss @JasonCooper last edited by

            Doing both covers all the bases.  I can't recall who it was that did the test (@TonyAdam on Twitter I think) but the test involved rel=canonical and 301s being implemented, and the discovery was that rel=canonical was acknowledged faster than the 301s. And at the very least, doing both won't hurt.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • What's the best way for users to upload their images to my wordpress site to promote UGC
              Smileworks_Liverpool
              Smileworks_Liverpool
              1
              5
              65

            • Do I submit a sitemap for a highly dynamic site or not? If so, what's the best way to go about doing it?
              Martijn_Scheijbeler
              Martijn_Scheijbeler
              0
              3
              77

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

            • Http to https - is a '302 object moved' redirect losing me link juice?
              jez000
              jez000
              0
              4
              1.4k

            • My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Please advise.
              Vuly
              Vuly
              0
              5
              1.6k

            • I'm redesigning a website which will have a new URL format. What's the best way to redirect all the old URLs to the new ones? Is there an automated, fast way to do this?
              GregFindley.co.uk
              GregFindley.co.uk
              0
              2
              303

            • How Best to Handle 'Site Jacking' (Unauthorized Use of Someone else's Dedicated IP Address)
              KeriMorgret
              KeriMorgret
              1
              2
              713

            • What's the best way to switch over to a new site with a different CMS?
              Millibit
              Millibit
              0
              6
              967

            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