Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (21 sloc) 0.869 kB

Sitemap Guide

Sitemap

Sitemaps are XML files used by Google to index your website by using their Webmaster Tools and telling them the location of your sitemap.

The CMSSitemap will create a sitemap with all the published pages of your cms

Configuration

Add django.contrib.sitemaps to your project's INSTALLED_APPS setting. Add from cms.sitemaps import CMSSitemap to the top of your main urls.py. Add url(r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': {'cmspages': CMSSitemap}}) to your urlpatterns.

Django.contrib.sitemaps

More information about djangot.contrib.sitemaps can be found in the official Django documentation.

Jump to Line
Something went wrong with that request. Please try again.