A Step-by-Step Guide to Generating Schemas and Sitemaps for SEO

Mukul Srinivas

Mukul Srinivas

2 mins read · August 2, 2023

Use Schema and Sitemap for SEO

Steps to generate Schemas and Sitemaps:

STEP 1:

Identify the pages on your site that you want to include in your sitemap. 
This could include all of your pages, or just a subset of them, such as your blog posts, product pages, or landing pages.

STEP 2:

URL’s generated using Screaming Frog

Gather the URLs for the pages you want to include in your sitemap. You can do this manually by looking at the URLs in your web browser, or you can use online tools to crawl your site and generate a list of URLs. For example Ahref, scrapy, Screaming Frog.

Screaming frog.

STEP 3:

XML Sitemap Generator

Create a sitemap file. You can use a text editor to create a sitemap file, or you can use a tool like XML Sitemaps Generator.

Sitemap Generator

STEP 4:

XML Sitemap example

Add the URLs to your sitemap file. Each URL should be in its own tag, and it should include the following attributes:

  • loc: The URL of the page
  • lastmod: The date the page was last modified
  • changefreq: How often the page changes
  • priority: The importance of the page

STEP 5:

Sitemap Validator

Validate your sitemap file. You can use the Google Sitemap Validator to validate your sitemap file and make sure it is formatted correctly.

Sitemap Validator

STEP 6:

Host your sitemap file on your website. You can host your sitemap file anywhere on your website, but it is best to host it at the root of your domain.

STEP 7:

Google Search Console

Submit your sitemap to Google Search Console. You can submit your sitemap to Google Search Console by going to the “Sitemaps” tab and clicking the “Add/Test Sitemap” button.

STEP 8:

Check the status of your sitemap in Google Search Console. Once you have submitted your sitemap to Google Search Console, you can check the status of your sitemap in the “Sitemaps” tab.

STEP 9:

Monitor your sitemap performance in Google Search Console. Google Search Console will show you how often your sitemap is being crawled and indexed by Google.

Google Search Console

STEP 10:

Optimize your sitemap for SEO. There are a few things you can do to optimize your sitemap for SEO, such as including the right keywords in your URLs and using the correct changefreq and priority attributes.

Here are some additional tips for generating schemas and sitemaps for SEO:

  • Use the correct schema markup for your website. This will help Google understand the content of your pages and index them more effectively.
  • Use the right sitemap format. Google supports XML, RSS, and Atom sitemaps.
  • Keep your sitemap up-to-date. This will ensure that Google has the latest information about your website.

By following these steps, you can generate schemas and sitemaps that will help your website rank higher in search results.

M

Written By Mukul Srinivas

Driven to share best tips, stories and reviews.

See All From Mukul Srinivas