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

What happens when you submit a sitemap to google for a website that is not up yet?

· 52CE 我爱测

I'm building an angular web application that is able to periodically autogenerate sitemaps. Once it is done autogenerating all the sitemaps it automatically informs google of the location of the sitemaps using the ping get reques…

问题原文

原帖链接 · Maurice · CC BY-SA 4.0

I'm building an angular web application that is able to periodically autogenerate sitemaps. Once it is done autogenerating all the sitemaps it automatically informs google of the location of the sitemaps using the ping get request.

Today i had first tested this functionality and it all worked correctly. The sitemaps were created from a set of test urls and were then uploaded to a bucket i made in amazon s3. After that the application successfully pinged google the url of the sitemap index file.

There is only one problem. The website itself is not yet live. The only thing that is up right now is the registered website domain. All the test urls inside the sitemaps have this domain as their base url.

So when the google spider downloads the sitemaps and finds out that none of the website urls are valid, will this affect the ranking of my future website? Or will google just ignore the sitemaps when it finds out there is no website active on the domain?

Thank you

PS: I've removed all of the test sitemaps from the bucket after writing this post. Maybe i'm lucky and google hasn't downloaded the sitemaps yet.

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

It won't hurt the rankings of your future website because XML sitemaps have no effect on rankings. Sitemaps have very little effect on SEO at all. At best they can get Googlebot to come crawl URLs quickly, give you extra stats in Google Search Console, and tell Google about your canonical URLs. However, Google usually doesn't choose to index URLs that it can only find through a sitemap and sitemaps don't help rankings. See The Sitemap Paradox.

In any case, it isn't valid to upload a sitemap to an S3 bucket. When your sitemap URL is something like https://example.s3.region.amazonaws.com/sitemap.xml and your site is https://example.com, it would be a cross-domain sitemap. It is not valid to submit a sitemap for URLs on a different domain without first verifying that you own both domains. See https://sitemaps.org/protocol.html#sitemaps_cross_submits

When your sitemap is on an S3 bucket, Googlebot will ignore all the URLs in the sitemap until you add both the s3 bucket and the main site as separate properties in the same Google Search Console account. Right now, Google is going to find your sitemap to be invalid.

When you launch your site live, you should serve your sitemap from a URL on your own domain name, not from an S3 bucket. Leaving it on S3 will mean that search engines can't use it until you go through verification steps with each search engine.

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

资料来源与适用范围

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

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

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