0

enter image description hereI have generated the sitemap for my live instance. But after generating it it is showing staging url in xml sitemap.

When I see my xml sitemap in the browser for live site, it shows the links with staging URL...

is there any setting that i am missing

  • as I can see your sitemap.xml, all URLs are started by https://www.zitomer.com/. Can you point out any URL which is coming from staging site? what is your staging URL ? – Shashank Kumrawat Oct 24 '18 at 6:54
  • please check i have addded scree shot – 1990rk4 Oct 24 '18 at 7:08
  • check my answer please @rk1990 – Shashank Kumrawat Oct 24 '18 at 7:17
1

I think You need to clear your cache using command -

rm -rf var/cache/* var/view_preprocessed/* generated/*

as I have checked your sitemap.xml, it is showing correct URLs.

check this image --

enter image description here

  • Yes ... it is working ... but I have just simply deleted the xml file and regenerated it... Your answer is also perfect ... Thanks – 1990rk4 Oct 24 '18 at 7:28
  • cool.. you can accept it as answer if it helped you thanks :) – Shashank Kumrawat Oct 24 '18 at 7:31
  • I have voted up – 1990rk4 Oct 24 '18 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.