Archive for the ‘SEO’ Tag
Creating a sitemap with Django
The Sitemaps protocol allows a webmaster to inform search engines about URLs on a website that are available for crawling. A sitemap is an XML file that lists a site’s URLs. It allows webmasters to include additional information about each URL: when it was last updated, how often it is likely to be changed, and how important it is in relation to other URLs on the site. This allows search engines to crawl the site more intelligently.
This text shows how to generate a sitemap.xml with “django.contrib.sitemaps“ in Django, based on a simple blog application.
You can download the complete code here [3].
Read more »
Comments (1)