Forum Moderators: Robert Charlton & goodroi
You should always show the http first shouldn't you? And gbot should always run into the https second?
Ideally yes and no problem IF Google attributes https as same as http and merges it into http, like it does most of the time with www, non-www. But will Google do it always? More importantly, how can we make sure it doesn't get confused between the two?
Thanks Brett for your answers :)
... IF Google attributes https as same as http and merges it into http, like it does most of the time with www, non-www ...
Don't count on Google merging URLs like this. Put a separate robots.txt on the secure port.
"Each port must have its own robots.txt file. In particular, if you serve content via both http and https, you'll need a separate robots.txt file for each of these protocols." [google.com...]
Here is the fix for this issue.
Make sure you are using absolute links on the site.
e.g. http//:www.widgets.com/foo/foo1.html do not use /foo/foo1.html
Always use a host name for the secure part of the site. e.g. https//:secure.bluewidgets.com.
This also will allow you to use another server if needed for the secure pages.
HTTPS puts a huge load on the server and actually slows the page rendering by about 50%, due to encryption.
You will have error pages on the site for the removed https, but it is my experience that Google does remove these pages quickly. Google removed all 100K http pages in about 45 days on my site.
Good Luck!
asgdrive, great info. Much appreciated.
Always use a host name for the secure part of the site. e.g. https//:secure.bluewidgets.com
Just to clarify, this site is [domain.com...] Should this be changed to something like [secure.domain.com...] and preferrably hosted on a different server?
Thanks
"About Canonicalization - What about https and http versions? I have a site that is indexed for https, in place of http. I am sure this too is a form of canonical URIs and how do you suggest we go about it?"
And he replied -
"McMohan, Google can crawl https just fine, but I might lean toward doing a 301 redirect to the http version (assuming that e.g. the browser doesn’t support cookies, which Googlebot doesn’t)."
How do we do that on IIS? Also, by doing a 301, when a visitor goes to the secure shopping cart part, won't he be redirected back to http?
Any suggestions, highly appreciated.
What happens is, that under a specific search result only one of this pages is shown on the first result pages, the others are somewhere back in the index.
Nevertheless I read about this duplicate content worries all the time. As far as I know you can have a dozen copies of a single website on your domain. To my knowledge there is nothing like a duplicate content penalty.
The only problem related to duplicate content I know about is when someone steals your content and puts it on his website and has a higher PageRank. Then your site might drop in rankings and the other site will be shown.
Dupe content 100% this was the reason for my site going AWOL in the Florida update.
The way we got round it is by writing a script.
If [domain.com...] was requested then deliver robots file
User-agent: *
Disallow: /
If ht*p://domain.com/robots.txt was requested then deliver your normal robots.txt file
Remember all good robots ask for the robots.txt file so it doesn’t matter if it’s https:// or http://
As long as the script delivers the correct file you are protected no need to move the site or make it a sub-domain.
You can if you want to of course.
Sorry but I’m going to have to disagree with Matt here Google’s Big Daddies robot the Mozilla 5 spider has Java and cookies enabled we’ve tested and both are flagged on.
Hope this helps
Vimes
But asgdrive doesn't seem to be in favor of disallowing robots through robots.txt on https. To quote him
It is also my experience that Google does not follow the robots tag for https. I have acutally seen where Google started to remove the non secure pages in the site when you try to use the robots.txt to keep the spiders from indexing the secure pages on the root domain.
Whats your take on that? Any risks as he sees?
WHY?
Your https content should not allow Google to crawl/index it.
Don't blame Google for your own mistakes!
Clean your own house and then complain about Googlebot, in the meantime you have only yourself to blame!
Since adding the https tag I’ve had no https pages requested by "good" robots. Sorry requested is the wrong word indexed is correct one.
There are still links out there, put up by a competitor to the [domain.com...]
This is showing as a URL listing now which in my mind is the standard way Google handles links that shouldn’t be indexed, partial indexing.
This page occasionally gets requested, but as all “good” bots will ask for the robots.txt file at some point of there journey on your site, it soon bugs out.
It will take time for these pages to disappear as you can't remove them by the removal tool.(or at least you couldn't the last time I looked.)
The quicker you act the sooner they will either disappear or go to URL listings if there are links directly to the pages.
You will suffer from some page inflation for a while but big daddy seems to be handling this a lot better than the old indices, from what I’ve seen of the test DC.
From my experience this was the easiest and quickest way of getting my site back in to Google’s good books and back into the index.
There’s nothing wrong with asgdrive suggestion of making it a sub-domain but again I’d still block it with robots.txt
i think we're talking apples and pears here, both will correct the issue, all depends on which is easiest for you to implement i suppose.
Vimes
However, the fact that the robots are finding this content is an indicator of a problem with your linking (this is what percentages was implying). Pages that don't need to be secure should not be served as secure. You need to check your links and see where the duplication is happening and change the links to make sure they point to unsecured versions of the pages.
Once that's done, you should ensure that any pages that don't need to be secure are not served as such (check to see how the page is being accessed and get your server to issue a redirect to the unsecured version). By doing this, it acts as a safety net. It makes sure that any slip-ups you make in the future with your linking won't result in robots wandering around your secured pages.
[edited by: mrMister at 11:34 am (utc) on Jan. 11, 2006]
Your https content should not allow Google to crawl/index it.
Don't blame Google for your own mistakes!
Clean your own house and then complain about Googlebot, in the meantime you have only yourself to blame!
Call me ignorant, unaware, novice, what will you. I admit those pages shouldn't be indexed and am trying for a solution. I read my posts again, and I haven't blamed Google anyware.
Vimes and mrMister, thanks for the info. Very useful. Much appreciated.