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. Https Version of Homepage in SERPS

    Https Version of Homepage in SERPS

    Technical SEO Issues
    7 3 309
    • 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.
    • UnderRugSwept
      UnderRugSwept last edited by

      The https version of our homepage appears in Google's SERPs. We have rel canonical on the page pointing to the http version. We have a redirect in our htaccess that sends https to http.

      I thought this was just a fluke and it would be fixed by the next crawl, but it's been like this for a few weeks now. Not only that, but we're losing rank a bit and I'm afraid there's a correlation.

      Has this ever happened to anyone?

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

        Hi Marisa,

        I had to dig, but is the site you are speaking about the one in your profile? When I check the header status of the https page I get a 200, meaning the 301 isn't being recognized. If you are referring to a different site please disregard.

        UnderRugSwept 2 Replies Last reply Reply Quote 0
        • UnderRugSwept
          UnderRugSwept @ORob last edited by

          I am referring to the one in my profile. I will check that out and get back to you. Thanks.

          1 Reply Last reply Reply Quote 0
          • UnderRugSwept
            UnderRugSwept @ORob last edited by

            The redirect is back now (don't know what happened) but now when I click on the order page, which is supposed to be https, it redirects it to http even though I have the following code in the htaccess:

            RewriteEngine On
            RewriteCond %{HTTPS} on
            RewriteCond %{REQUEST_URI} !^/order.html
            RewriteCond %{REQUEST_URI} !^/cgi-bin/order.cgi

            ORob 1 Reply Last reply Reply Quote 0
            • ORob
              ORob @UnderRugSwept last edited by

              Hi Marisa, glad you were able to get the redirect set back up. Hopefully someone can help you with this secondary issue. htaccess can be pretty complex!

              Sorry I couldn't be of more help in that area.

              1 Reply Last reply Reply Quote 0
              • Cyrus-Shepard
                Cyrus-Shepard last edited by

                Hi Marisa,

                I'm no .htaccess expert, but that code looks a little wonky to me. Is it complete? I see lots of rewrite conditions, but not rewrite rules.

                Second problem, when I run the https version through a server header check, it looks like the redirect serves a 302 status code, which indicates a temporary move and passes no link juice. Oh no!

                So the first thing I would do is to make sure that any Rewrite rules in your htaccess file contain a 301 directive like this: [R=301,L]

                For Example, the following might work:

                <code>RewriteEngine On
                RewriteCond %{HTTPS} !^on$
                RewriteRule (.*) http://yourdomain/$1 [R=301,L]</code>
                

                So the first thing I would do is to make sure that any Rewrite rules in your htaccess file contain a 301 directive like this: [R=301,L]

                Another option to consider is making your entire site secure to https. Many websites are moving this way, and Google has no problem crawling and ranking these sites appropriately. The important thing is to make sure you act consistently, and get those 302's solved!

                It is odd that you have proper canonical tags and Google still displays the https version, but after you get this sorted out things will likely resolve themselves.

                Hope this helps. Best of luck with your SEO!

                UnderRugSwept 1 Reply Last reply Reply Quote 1
                • UnderRugSwept
                  UnderRugSwept @Cyrus-Shepard last edited by

                  Thanks for the code. It worked! And thanks for providing the link to the server header check so I could properly test it.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Adding https version of website: how best to redirect
                    BlueprintMarketing
                    BlueprintMarketing
                    0
                    18
                    340

                  • Google Serps Not Showing HTTPS in Front of URL
                    vetofunk
                    vetofunk
                    0
                    4
                    126

                  • Which Version Url to Use for Canonical Tags and in General for Homepage.
                    Joe_Stoffel
                    Joe_Stoffel
                    0
                    4
                    74

                  • Our homepage url has been 301'd to the new https version - as our MD wanted us to have the secure protocol
                    Catherine_Selectaglaze
                    Catherine_Selectaglaze
                    0
                    7
                    160

                  • Do you still loose 15% of value of inbound links when you redirect your site from http to https (so all inbound links to http are being redirected to https version)?
                    LoganRay
                    LoganRay
                    0
                    5
                    74

                  • 2 Versions of Same Homepage
                    theLotter
                    theLotter
                    0
                    5
                    168

                  • /home-2 showing in SERPS but not the homepage
                    xcyte
                    xcyte
                    0
                    3
                    125

                  • Homepage disappeared from Google Serp
                    0
                    1
                    369

                  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