问题原文
原帖链接 · Victor Marchuk · CC BY-SA 3.0
Basically, my site has a bunch of pages like Password Recovery, Sign Up, the page that says "Thank you!" after signing up, etc.
Those pages obviously don't have any marketing stuff in them and aren't intended as the landing pages.
Would it make sense to remove them from the sitemap.xml file?
已采纳解答
原帖链接 · unor · CC BY-SA 3.0
You should add the URLs of your pages which you want to get crawled and indexed.
Don’t you want your password recovery page to get crawled/indexed? Then don’t add it. (And if you want to disallow crawling of your password recovery page, add it to robots.txt; if you want to disallow indexing of your password recovery page, use noindex; don’t use both).
Should you want your password recovery page to get crawled/indexed? I would say yes. Some users might want to use a search engine to find this page (instead of visiting your site and finding a link to the page). But this is primarily a usability question, it doesn’t affect SEO much.
The same goes for the sign up page.
Your "Thank you" pages ideally wouldn’t exist in the first place (you’d typically display the message on the same page, or on the otherwise existing page you get redirected to after submitting the form), but if you need them, they would be good candidates for pages that shouldn’t get added to the sitemap. And you should noindex them, too.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
