Https Version of Homepage in SERPS
-
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?
-
Thanks for the code. It worked! And thanks for providing the link to the server header check so I could properly test it.
-
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!
-
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.
-
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 -
I am referring to the one in my profile. I will check that out and get back to you. Thanks.
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
SERP Review Features show on a non-product page?
When reviewing my campaign's SERP Features, I notice that one of my competitors is gaining a lot of Review Features that I'm missing. I'm ranking high for the keywords that are showing the review features, but not on my product page. I'm ranking for those keywords on blogs and other pages. Is there a way to show for those review features as I currently have it, or should I be trying to rank for those keywords on my product page? I appreciate any insight into this situation.
Technical SEO | | LearningStuff0 -
My ranking drop after migrating to https
Hey, I have migrated my website from http to https. But, all my ranking is dropped from first page to 3 or 4 page or some keywords are disappeared. I have redirected all my urls to https and done everything properly. Please help me. My website is justinterio.com
Technical SEO | | vikrantrathore1 -
Google SERPs Show Different Title
Hi Guys, Can anyone please help with my situation. My domain is www.greedybins.com.au. I had title setup in every pages differently, and it has been 2 months since I made the changes. I keep checking by using site:www.greedybins.com.au in search. So far, only 1 title that been show correctly in SERPs. I used SEO Yoast before, I changed to All In One SEO Pack plugin, the titles are changing, but still not accurate as I made it. Somehow Google altered it by itself. I have tried fetch and submit sitemap couple times from Google Search Console. Could anyone please advise?
Technical SEO | | ray.soms0 -
Homepage indexed and cached as the wrong domain
I'm a bit baffled by this one and would love if someone in the community could help provide some clarity! In general, my website (PSG1.com) is indexed and cached correctly. The exception is that the homepage is actually cached as plasticsurgerygroupnewjersey.com, another domain we own. Header checkers all confirm that plasticsurgerygroupnewjersey.com redirects to PSG1.com, not the other way around No canonical is set for that domain. At one time, I used the Moz toolbar to view attributes and it registered PSG1.com as having a response code of both 200 and 301 to plasticsurgerygroupnewjersey.com. However, I cannot replicate this. Any idea why the homepage of PSG1.com is not indexed/cached correctly? I appreciate your wisdom!
Technical SEO | | BTeubner0 -
I add microdata but why Google don't show it in SERP?
Site is: http://www.lightinthebox.com/, I've already added microdata for all product pages a month ago. And I used google Rich Snippets Testing Tool which shows me everything is all right. Like: http://www.lightinthebox.com/ouku-horizon-3g-android-smart-phone-with-3-5-inch-capacitive-touchscreen-800mhz-wifi-gps_p225435.html But Google just don't show the Rich Snippets in SERP. Any idea?? Thanks!
Technical SEO | | Litb0 -
Having trouble removing homepage from google
For various reasons my client wants their homepage removed from google, no just the content of the page off but the page not to be indexed (yep strange request but we are mere service providers) today I requested in webmaster tool that default.asp was removed. Wht says done but the sites homepage is still listed. The page also has a no index tag on but 24 hours and 18k Google bot hits later it still remains. Anyone got any other suggestions to deindex just the homepage asap please
Technical SEO | | Grumpy_Carl0 -
Duplicate Homepage In Google
Hi Just found through my SEO dashboard, Google has two versions of the same homepage, the root page, plus the index.html page, causing duplicate content from both the pages. what is the best option to ensure google only have 1 version of the homepage listed?
Technical SEO | | rfksolutionsltd0 -
Minimum # of words on a homepage?
When I design sites for clients I try to keep the homepage clean and simple. As a result, I usually end up with very little actual content. For SEO purposes. What is the minimum # of words that I should have on any given homepage to avoid being penalized by Google? Does it have to be at least 150 or something like that? Even though my internal pages have plenty? thanks, Martin
Technical SEO | | RogersSEO0