Princeton-CDH / derrida-django

Derrida's Margins - Python/Django web application
https://derridas-margins.princeton.edu
Apache License 2.0
8 stars 1 forks source link

configure xml sitemaps #211

Closed rlskoeser closed 6 years ago

rlskoeser commented 6 years ago

We currently have a sitemap but it's only including mezzanine content and don't include last modified dates (which we have for at least some content). This is important for search engines to be able to find and index site content, and can also help with load on the site so that search engines go directly to content rather than browsing through the site.

Sitemaps are easy to generate with django: https://docs.djangoproject.com/en/1.11/ref/contrib/sitemaps/

We may want multiple, grouped sitemaps by type of content.

Top-level sitemap should be linked in robots.txt file with full url.

rlskoeser commented 6 years ago

Added basic sitemaps, no unit tests.

meg-codes commented 6 years ago

Site maps are present and include all of the priority settings as expected.