SEO

Meta Tags

All pages include meta tags for SEO optimization, which help search engines understand the content and improve visibility. 

Adapt the content of meta tags to your business. Go to templates folder and modify meta tags of each page (home.html, feature_main.html, ...):

templates/
├── ...
│
├── 404.html
├── 500.html
├── account_orders.html
├── account_profile.html
├── account_subscription.html
├── feature_main_1.html
├── feature_main_2.html
├── feature_main_3.html
├── home.html
├── payment_error.html
├── privacy_policy.html
├── resources.html
└── terms_of_service.html

 

Robots meta tags

Customize the behavior of search engine crawlers for each page using the robots meta tags. These tags control indexing, following links, and other actions.

<!-- Basic meta tags -->

<!-- Allow indexing and following links -->
<meta name="robots" content="index, follow">

<!-- Prevent indexing but allow following links -->
<meta name="robots" content="noindex, follow">

<!-- Allow indexing but prevent following links -->
<meta name="robots" content="index, nofollow">

<!-- Prevent indexing, following links, and caching -->
<meta name="robots" content="noindex, nofollow, noarchive">

<!-- Additional Tags: Prevent indexing, following links, and snippets, and prevent use of DMOZ description -->
<meta name="robots" content="noindex, nofollow, nosnippet, noodp">

 

Structured Data

Define structured data (in JSON-LD format) to provide search engines with detailed information about your content, improving search visibility and rich result eligibility. Only for page that provides significant value for search engines and users (homepage, product page, blog, articles or faq).

<!--
  JSON-LD structured data for your SaaS company.
  This block includes details about the organization, software application, and available offers.
-->
<script type="application/ld+json">
    {
      ...
      "@context": "https://schema.org",
      "@type": "Organization",
      "name": "Your SaaS Company",
      "url": "https://www.yoursaas.com",
      "logo": "https://www.yoursaas.com/logo.png",
      "description": "Your SaaS Company provides software solutions for managing business workflows efficiently.",
      ...
      }
</script>

 

Schema.org: Complete structured data vocabulary reference

Google's Guidelines: Official structured data implementation guide

Rich Results Test: Test & preview your structured data in Google Search

Schema Generator: Generate JSON-LD structured data markup easily

Schema Validator: Validate your structured data implementation

Sitemap

The boilerplate includes built-in sitemap functionality that generates URLs for all languages configured in your LANGUAGES setting. The sitemap is accessible at www.yourdomain.com/sitemap.xml and includes public pages for each language you have defined.

 

Configure your site domain

To ensure your sitemap works correctly and search engines can properly index your pages, you'll need to set up your site's domain in Django's admin panel:

1. Go to the admin panel > Sites

2. Add or modify the default site

3. Set your domain name (e.g., www.yourdomain.com)

 

Accessing the Sitemap

  • Production: https://www.yourdomain.com/sitemap.xml
  • Development: http://localhost:8000/sitemap.xml

 

Adding custom URLs

To add custom URLs to the sitemap, extend the Sitemap class in saas/sitemaps.py.

Robots.txt

The boilerplate comes with a pre-configured robots.txt file that manages search engine crawler behavior. The default configuration balances SEO visibility with security by protecting sensitive areas like authentication flows and checkout processes, while directing search engines to your sitemap for optimal indexing.

 

While this configuration provides a solid starting point, you should review and update it based on your specific needs:

  • Update the sitemap URL to match your domain
  • Review and adjust disallowed paths based on your routes
  • Add any additional paths that should be protected

Google Search Console

Google Search Console is a free service that helps monitor and optimize your website's visibility in Google Search results. It provides essential data about search performance, indexing status, and technical issues, allowing you to track search queries, analyze click-through rates, and ensure proper indexing of your pages.

 

Before setting up Google Search Console, ensure you have purchased a registered domain name through a domain registrar (like GoDaddy or Namecheap).

 

Setting up Google Search Console

To track your website's search performance and ensure Google can effectively crawl and index your pages, you'll need to configure Google Search Console. Here's how to get started:

1. Go to Google Search Console and create an account

2. Add a new property

  • Click "Add Property"
  • Choose between
    • Domain property (recommended): Covers all subdomains (www, mobile, etc.)
    • URL-prefix property: Covers specific URL versions

3. Verify ownership by following the verification instructions provided in Google Search Console

4. Once verified:

  • Submit your sitemap 
  • Wait for Google to gather data (can take a few days)
  • Start monitoring your search performance