开发者

Sitemap file location

I have developed a sitemap index and other sitemaps in cakephp on my website.

Currently the sitemap index is called using the URL http://mysitename/sitemap and not http://mysitename/sitemap.xm开发者_高级运维l Would it be possible for the search engines to understand the sitemap index location?


You should define the location of your sitemap file in your robots.txt file. Just include a line like this in your robots.txt file:

Sitemap: http://www.example.com/sitemap

If you do this, you can call it whatever you want and the major search engines will be able to locate it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜