如何向搜索引擎提交sitemap.xml

现在google提出的sitemap协议很多搜索引擎都公开支持,包括yahoo,window live search,ask等等
国际搜索引擎
网站sitemap.xml生成以后,放到网站根目录就可以了,但是如果想让搜索引擎快点看到怎么办,这就需
要下面的方法了,手工ping一下,通知网站来索引sitemap

向yahoo提交sitemap

http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=yahookey&url=Url

这里需要注意一下,yahoo需要你使用yahoo的帐号申请一个Websitemap yahookey,这里申请 ,一串字
符串替换yahookey就可以了

向ask提交sitemap

http://submissions.ask.com/ping?sitemap=Url

向google提交sitemap

http://www.google.com/webmasters/sitemaps/ping?sitemap=Url

向live提交sitemap

http://webmaster.live.com/ping.aspx?siteMap=Url

向bing提交网站地图Sitemap: 用URL直接提交:http://api.moreover.com/ping?u=http%
3A//your.domainname/sitemap.xml。这是向MSN直接提交网站地图的后门URL。注意”:”被%3A替换掉

这里的Url 是你需要替换成你的网站sitemap绝对路径,比如:http://www.91dong/sitemap.xml

以我的网站为例:
向yahoo提交:sitemap

http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=

IWgs7FzV34F5ihu2BmDL44zi8PBBTxFyd1LF4zmcF4Bpu39ZKk.HKGKgjLngMZlQsW1x4K2tyw– &url=

http://www.91dong.com/sitemap.xml

向谷歌提交sitemap

http://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.91dong.com/sitemap.xml

向live提交sitemap

http://webmaster.live.com/ping.aspx?siteMap=http://www.91dong.com/sitemap.xml

向ask提交sitemap

http://submissions.ask.com/ping?sitemap=http://www.91dong.com/sitemap.xml

向bing提交sitemap

http://api.moreover.com/ping?u=http%3A//www.91dong.com/sitemap.xml

另外因为百度等搜索引擎还没开通类似 Google 网站管理员工具的提交后台。因此,我们必须通过在
robots.txt文件中添加“Sitemap:”这样的代码行的方式来告诉搜索引擎Sitemap 的存
放位置,包括 XML Sitemap 和 文本形式的Sitemap。如果有很多个.xml 或 .txt 文件,则你可以先建立一
个索引文件,把这些.xml 或 .txt 文件的完整网址列在其中。 要注意的是,需要填Sitemap的完整网址,下面给一个完整的robots.txt示例:

比如,我的网站为http://www.91dong.com/,而sitemap.xml文件处于该域名的根目录下,则
代码行放在 robots.txt 文件的任何位置都可以,需要填的内容是:

User-agent: *
Sitemap: http://www.91dong.com/sitemap.xml
Sitemap: http://www.91dong.com/robots.txt
Disallow:

然后,把robots.txt 文件上传到网站根目录。这样,Google,百度、雅虎等搜索引擎也都可以
找到你的网站地图了

相关文章

发表评论?

1 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

无觅相关文章插件,快速提升流量