Welcome to Django SEO’s documentation!

Best SEO app for django. Allow to configure robots.txt, locale for domain, setup title, keywords, description, seo texts for all pages in admin panel.

Contents:

Install

Download

You can download django-seo from my GitHub repository.

Setup

  • Add to INSTALLED_APPS 'seo',
  • Add to TEMPLATE_CONTEXT_PROCESSORS 'seo.context_processors.seo',
  • Add to MIDDLEWARE_CLASSES
'seo.middleware.Host',
'seo.middleware.Redirect',
'seo.middleware.SwitchLocale',
  • Add to urls.py url(r'^robots.txt$', 'seo.views.robots', name='robots'),
  • Add this code in your template between <head> and </head>
<title>{% firstof seo.title title %} &rarr; {{site.name}}</title>
<meta name='keywords' content='{% firstof seo.keywords keywords %}'>
<meta name='description' content='{% firstof seo.description description %}'>
{{ seo.head_code|safe }}
  • Add {{ seo.head_code|safe }} to footer
  • Add {{ seo.intro|safe }} before main content
  • Add {{ seo.outro|safe }} after main content
  • Sync bata base ./manage.py syncdb

To Do

To Do

  • Documentation
  • Template changer to pages
  • SitesGroups
  • Language as model
  • Site languages for multi languages sites
  • Language changer type
  • Add logic to redirects
  • Add logic to template changer
  • Sitemap

Change Log

2013.12.05

  • Add translations
  • Add migrations
  • Add head and footer code block for meta
  • Fix Rename intro_text to intro and text to outro

2013.12.04

  • Add redirects protocol
  • Fix New clear head code
  • Del Tags model

2013.05.24

  • Add RegEx supprot to redirects

2013.05.16

  • Add Site Settings
  • Add robots.txt (Allow to setup robots.txt in site settings)
  • Add SwitchLocaleMiddleware (Allow to setup domain locale in site settings)
  • Add .gitignore
  • Fix README.md

2012.10.14

  • Add Teg to template.
  • Add Tag model.
  • Add Redirect model.
  • Fix Rename MetaData model to Data.
  • Fix Improve context_procesor
  • Fix Add fields to Redirect model.

2012.07.14

  • Add MetaData model.
  • Fix Move template context processor to context_processors.py
  • Fix Optimized SEO template context processor.

2012.07.13

  • Init Now, SEO is a standalone application.

Indices and tables