Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sitemap.xml 404 error #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cmotadev
Copy link

This simple fix solves the 404 error into geonode sitemap (observed also in https://stable.demo.geonode.org/sitemap.xml)

The problem occurs because on line 127, there is a location directive to produces cache from static files, but sitemap.xml is generated by the django app. This behavior is not observed into robots.txt and version.txt, because the txt extension is not listed on regexp.

This simple fix solves the 404 error into geonode sitemap (observed also in https://stable.demo.geonode.org/sitemap.xml)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant