Chapter 21. Creating Sitemaps

What You’ll Learn in This Hour

  • How to create and enable a sitemap
  • How to create a sitemap for generic views
  • How to create a sitemap index
  • How to notify Google that your website content has changed

Sitemaps are a great way for web developers to inform search engines about pages on their websites.

By the Way

Search engines that use a crawling method to index content can use sitemaps to determine information about the URLs on the website. (For more information about sitemaps, see www.sitemaps.org.)

A sitemap is an XML file that includes the URLs in a website. It also includes information about each web page, such as the last update date, change frequency, and relative importance to other pages on the website.

Django provides ...

Get Sams Teach Yourself Django in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.