问题原文
原帖链接 · CP3O · CC BY-SA 4.0
A lot of websites hide their sitemap.xml file.
What I mean by this is that they make the URL something that a person cannot guess and then do not mention them in the robots.txt file.
So my question is why would a website do this?
And does this affect SEO?
社区高分解答
原帖链接 · Raul Reyes · CC BY-SA 4.0
This will not affect your SEO. Any web crawler will be able to find a website's HTML sitemap as long as there is a link pointing to it.
Remember that you can submit your sitemap to most search engines consoles. You do not need to mention it in the robots.txt. Using any search engines console UI you could submit sitemap-name-you-would-like.xml you do not need to specify it in your robots.txt nor a link in your website.
There are many reasons why you would prefer to hide your XML sitemap. For example, you would want to hide the XML Sitemap from your competitors and everyone that automatically or manually wants to learn about the content on your website.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
