SEO Django Django.How

Author avatar wrote on 26/05/2022

In base.html file add the code

In each page template, you can put the values of your choice in the blocks; title and description

{% extends 'base2.html' %}
{% load static %}

{% block title %}About{% endblock %}
{% block description %}About description{% endblock %}

{% block content %}


Some plugins to test

13 SEO Tips for Django

This is mostly an on-site specific guide

  1. Use the redirects app to manage url changes Django documentation

  2. Use post save signals to handle slug/url changes in your models Link

  3. Use sitemap The sitemap framework

  4. Use slugfield Model field reference

  5. Use cached template loaders to reduce page load times The Django template language: For Python programmers

  6. Use a css/js compressor to reduce page load times django_compressor

  7. Use django-robots to manage your robots file django-robots

  8. If you’re rolling an e-commerce site, don’t reinvent the wheel, just go with The Best Django CMS. It’s the best code and seo friendly cms framework for django

  9. Manage object level meta data with django-seo

  10. Not django specific but submit your site to google webmasters Webmasters – Google. For bing: Bing – Webmaster Tools

  11. Not django specific again but load your page using Make the Web Faster and make all the recommended changes

  12. Crawl your site content to find broken links using Xenu or Integrity for Mac

  13. To generate image sitemaps, use Django Image Sitemaps