http https dupliacte内容google [英] http https dupliacte content google

查看:199
本文介绍了http https dupliacte内容google的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在我的一个网站上安装了SSL证书。我已经注意到,Google现在已经为每个页面的http和https版本编制索引。到目前为止,我并没有注意到任何问题排名,但是我意识到重复内容可能会出现问题。



我如何克服这个问题?只有我的几个页面将使用https,网站上的大部分页面最好只用http,实际上我可以放弃,如果有必要,暂时不使用https页面。



我遇到的几个想法是:301重定向,将所有https重定向到http与.htaccess。



Robots.txt对于ssl页面,再次使用.htaccess。这里的问题是https页面已经被编入索引,我希望它们被删除。我不知道robots.txt是否足够,因为据我所知,robots.txt只会告诉机器人不要抓取该页面,但已经被索引。



还有其他建议吗?

解决方案

使用规范网址


I recently installed an SSL cert on one of my sites. I have noticed that Google has now indexed both the http and https version of each page. I haven't really noticed any problem ranking wise so far, but I am conscious that a problem may occur with duplicate content.

How can I overcome this? Only a few of my pages will be using https, most of the pages on the site will be best served with just http, in fact I could get away with not using https pages at all for the time being if necessary.

A few ideas I have come across are: 301 redirects, redirect all https to http with .htaccess.

Robots.txt for the ssl pages , again using .htaccess. The problem here is that the https pages have already been indexed and I would like them to be deindexed. I am not sure if robots.txt would be sufficient because as far as I am aware robots.txt will just tell a bot not to crawl the page, but it has already been indexed.

Is there any other suggestions?

解决方案

Use canonical URLs for this.

这篇关于http https dupliacte内容google的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆