大网数据广告活动
网站运营与故障问答

Do you need to put links to pages like "password recovery" to the sitemap?

· 52CE 我爱测

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…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-11-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。