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

3
  • 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 ? Oct 24, 2018 at 6:54
  • please check i have addded scree shot
    – 1990rk4
    Oct 24, 2018 at 7:08
  • check my answer please @rk1990 Oct 24, 2018 at 7:17

1 Answer 1

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

3
  • 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, 2018 at 7:28
  • cool.. you can accept it as answer if it helped you thanks :) Oct 24, 2018 at 7:31
  • I have voted up
    – 1990rk4
    Oct 24, 2018 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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