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
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