Webmasters Asked by Kannaj on November 3, 2021
Im trying to include an auto-generated sitemap.xml
file whenever we build our frontend application.
Unfortunately due to legacy reasons, we use the same frontend build script on our production and staging servers.
As a result , this sitemap.xml
with domain as w.x.com
will also reside on our w.staging.x.com
server
There will be only one correct sitemap.xml
file with hostname w.x.com
residing on our w.x.com
server – but there will be a duplicate XML in staging
Is this ok or will it affect SEO/Crawlers etc
This is not okay and it probably will affect your SEO.
Staging should not be indexed. This is because of duplicate content and crawling budget reasons.
You should only index your live version and show only live version pages within your sitemap.
Answered by Alex on November 3, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP