I'm using django sitemap to generate my sitemap.

In local it works normally, I can visit 127.0.0.1:8000/sitemap.xml and see
the data. But in production, I got http error 500 (site matching query not
exist) when trying to access "domain.com/sitemap.xml". I've been following
solutions on the internet, and one of those is from this link

https://dev.to/radualexandrub/how-to-add-sitemap-xml-to-your-django-blog-and-make-it-work-on-heroku-4o11

https://stackoverflow.com/questions/53262018/django-sitemap-xml-throwing-server-error-500-in-production/53265609

But I'm still getting the error. I followed these tutorials exactly, but
the error still occured.

https://jawaban.online/scope/outlink/6442/django-sitemap-tutorial-help-crawlers-understand-your-website-2018-youtube/

https://jawaban.online/scope/outlink/17698/how-to-create-a-sitemap-in-django/

https://jawaban.online/scope/outlink/2757/how-to-create-a-django-sitemap-sitemap-one-of-the-most-important-seo-by-erdi-mollahuseyinoglu-analytics-vidhya-medium/

Please kindly help. Thanks

https://jawaban.online/forum/discuss/110/how-do-i-fix-a-django-sitemap-http-error-500-on-heroku/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANV3w%3DZZUWHkAqVX9R%2BrkYDCSgghZKLy%3DDT5O_b4jatv6mi9fg%40mail.gmail.com.

Reply via email to