Google SEO的站点地图文件的名称应该是什么? [英] What should be the name of the sitemap file for Google SEO?

查看:132
本文介绍了Google SEO的站点地图文件的名称应该是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的网站创建了一个包含以下代码的站点地图:

I created a sitemap for my website that contains the below code:

<?xml version="1.0" encoding="UTF-8"?>
<urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

<url>
  <loc>http://www.example.com/</loc>
</url>
<url>
  <loc>http://www.example.com/aboutus.html</loc>
</url>
<url>
  <loc>http://www.example.com/contactus.html</loc>
</url>
<url>
  <loc>http://www.example.com/careers.html</loc>
</url>
<url>
  <loc>http://www.example.com/terms.html</loc>
</url>
</urlset>

我的疑问是,包含此代码的文件的名称应该是什么,以便Google可以找到我的站点地图文件?

My doubt is that what should be the name of the file that contains this code so that Google could find my sitemap file?

推荐答案

基本上,站点地图文件名是XML,然后是/sitemap.xml

basically the site map file name is if XML then /sitemap.xml

,但是如果您使用其他任何名称,则不会有任何问题,但是我们必须将其添加到网站站长中.

but its not any issue if you use any other name but we have to add this to webmaster.

这篇关于Google SEO的站点地图文件的名称应该是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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