IATI / IATI-Standard-Website

IATI (about & guidance) website based on Django and Wagtail CMS
MIT License
6 stars 8 forks source link

sitemap: If older version of standard, want it to have lower priority. #781

Closed odscjames closed 1 week ago

odscjames commented 1 week ago

Let's discuss how further to go here.

At least we probably want the "203" string to be a Django Setting somewhere.

Do we want to try and have the version as a field on the page somewhere so we aren't parsing URLs? (Not that the URL's are likely to change.) Should we try and make guidance dev docs a different model?

odscjames commented 1 week ago

Wait, hold this. Just found https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap Google ignores <priority> and <changefreq> values. Guess we just have to set up the old pages to not be indexed at all.