How to Generate Magento SEO Sitemap for Ecommerce Stores

How to Generate Magento SEO Sitemap for Ecommerce Stores

Need help to improve your store's search rankings? Magento SEO sitemaps help search engines understand your website's structure and content. It makes it easier for them to crawl and index your pages effectively.

In this tutorial, we will explain how to create and use Magento SEO sitemaps efficiently.

Best Magento Hosting now

Key Takeaways

  • Learn how to create an XML SEO sitemap for your Magento 2 store.

  • Discover the benefits of using a sitemap suite extension.

  • Understand how a personalized HTML sitemap page can improve navigation.

  • Get tips on advanced SEO practices like optimizing the site map file.

  • Explore the features of Magento SEO extensions that enhance visibility.

What is a Magento 2 SEO Sitemap?

A Magento SEO sitemap is a file that lists all the important URLs of your Magento ecommerce store. It serves as a roadmap for search engines like Google and Bing.

Search engines use the URLs to discover pages they might have missed through normal crawling. It is especially useful for new pages or pages that need to be better linked within your site structure.

It provides a clear structure and hierarchy of your store's pages. It includes product pages, category pages, and other essential content. When you generate a Magento SEO sitemap, it creates an XML file with a list of URLs and tags.

This file is usually named sitemap.xml and resides in your Magento installation directory. Search engine crawlers use this file to index both new and updated pages on your site more quickly.

By submitting a sitemap, you improve your store's chances of ranking higher in search results. Higher rankings lead to increased visibility, organic traffic, and potential sales.

Types of Magento Sitemaps: XML Sitemap & HTML Sitemap

Types of Magento SEO sitemaps

When it comes to Magento 2 sitemaps, there are two main types:

  1. HTML sitemaps

  2. XML sitemaps

Each serves a distinct purpose in enhancing your store's visibility and user experience.

1. HTML Sitemap

An HTML sitemap is a navigational tool designed to help visitors easily explore your website. It provides a clear, organized overview of your site's structure. It is typically displayed as a hierarchical list of links to important pages. It includes product categories, CMS pages, and other key sections. By including an HTML sitemap on your Magento store, you can:

  • Improve site usability and navigation: It makes it easier for customers to find desired content.

  • Increase customer satisfaction: It is by providing a quick and convenient way to locate information.

  • Enhance your site's internal linking structure: It can positively impact SEO rankings.

2. XML Sitemap

An XML sitemap is a machine-readable file that lists all the important pages on your website. It also includes metadata about each page. Its purpose is to help search engines crawl and index your site's content.

XML sitemaps provide search engines with valuable information, such as:

  1. Last modification date: Indicates when the page was last updated.

  2. Relative priority: Indicates the importance of a page relative to other pages on your site.

  3. Frequency: Suggest how often the page content changes.

By submitting an XML sitemap to search engines like Google, you can:

  1. Ensure that search engines are aware of all the pages you want to be indexed.

  2. Improve your site's crawlability and indexation.

  3. Increase the likelihood of your pages appearing in relevant search results.

Steps to Configure a Magento 2 XML Sitemap Extension

Step 1: Add a new Sitemap

Click to add a new Magento seo sitemap

  1. Log in to the Magento admin panel after installing the sitemap generator extension.

  2. Navigate to Content > SEO toolkit > Sitemap extension.

  3. Click on the Add new sitemap button.

  4. Use the filter button to identify specific maps.

Step 2: Configure XML Sitemap in Magento

  1. Head to the General Settings tab in the menu.
    Enter name and store in Magento SEO sitemap settings

  2. Enter the name and select the store from the dropdown options.

  3. Toggle Yes if you want to create a sitemap for every entity.

  4. Enter the maximum file size and items in the fields. Configure products tab in Magento seo sitemap settings

  5. Scroll down to the Products tab.

  6. Toggle Yes to include products, links, and images in the sitemap.

  7. Choose Product Types to exclude from the list.
    Configure categrories tab in Magento seo sitemap settings

  8. Scroll to the Category Links section.

  9. Toggle Yes to Add Hreflang Tags, which includes pages in different languages. Configure CMS tab in Magento seo sitemap settings

  10. Scroll down to the CMS Links settings and do the same.

  11. Toggle Yes to include Custom Pages in your sitemap.

  12. Scroll down and add Extra Links if any.

  13. Save changes by clicking Save config.

Step 3: Configure Cron Settings

Setting cron job frequency in Magento seo sitemap settings

  1. Set the Frequency and Start time for indexing your sitemaps. Run cron jobs in Magento seo sitemap settings

  2. To view cron tasks, head to Systems > Cron Tasks List.

  3. Click on Run to execute all the Cron jobs.

Top 4 Magento 2 SEO Site Maps Extensions in 2024

Extension Name Unique Features Price
Amasty XML Google Sitemap - Automatic sitemap generation
- Custom page inclusion
- Exclude specific URLs
- Set priority and frequency for different content types
- Supports multiple stores
- Integration with Google Search Console
- Cron task management
$179 for Magento Open Source $358 for Magento 2 Commerce
MageWorx SEO Suite Ultimate - XML and HTML sitemap generation
- Rich snippets creation
- Hreflang tag management
- Canonical URL setup
- Breadcrumbs optimization
- Cross-linking functionality
- SEO templates for metadata
$299 for Magento Open Source $598 for Magento 2 Commerce
Magefan Magento 2 XML Sitemap - Dynamic XML sitemap generation
- Product image inclusion in sitemap
- Customizable indexing frequency and priority
- Page exclusion option
- Compliance with Google requirements
- Multiple sitemap support for large websites
$129 for Magento Open Source $258 for Magento 2 Commerce
Magenest Super Easy SEO - XML sitemap creation
- Metadata management for large product catalogs
- Google crawling and indexing management
- SEO product templates
- Alt tag auto-creation
- Redirect management
Free for Magento Open Source $1 + $50 installation for Magento 2 Commerce

Best Practices for Magento SEO Sitemap Settings

1. Optimize Frequency & Priority Value Settings

Changing frequency values in Magento SEO sitemaps

  • The frequency setting tells search engines how often a particular page type is likely to change. It helps them determine how often to crawl and re-index these pages. Here is a general user guide:

    1. Product Pages: Set to "daily" or "weekly." Product information, prices, and availability can change frequently.

    2. Category Pages: Set to "weekly" or "monthly." While categories are more stable, new products may be added periodically.

    3. CMS Pages (About Us, Contact, etc.): Set to "monthly" or "yearly." These pages typically contain static information that rarely changes.

    4. Blog Posts or News Articles: Set to "daily" or "weekly." If you regularly publish new content, you want search engines to check frequently.

  • Priority values range from 0.0 to 1.0. It indicates the importance of a page relative to other pages on your site. It helps search engines understand which pages you consider most valuable. Here's a general priority structure:

    1. Homepage: 1.0

    2. Main category pages: 0.8

    3. Product pages: 0.6

    4. Sub-category pages: 0.5

    5. CMS pages: 0.4

    6. Blog posts: 0

  • A lower priority doesn't mean the page isn't important. It just helps search engines understand your site's hierarchy.

2. Generate Multiple Sitemaps for Large Stores

Generating multiple Magento SEO sitemaps

  • For large stores with thousands of products, categories, and pages, creating a single sitemap can become problematic. You can create separate sitemaps for different content types, such as:

    1. products.xml

    2. categories.xml

    3. cms-pages.xml

  • Search engines have limitations on sitemap size. Here are some limitations:

    1. File Size Limitations: Search engines limit sitemap files to 50MB (uncompressed) or 10MB (compressed).

    2. URL Count Restrictions: A single sitemap should not contain more than 50,000 URLs.

    3. Improved Organization: Separate sitemaps allow for better organization of different content types.

    4. Easier Troubleshooting: If issues arise, it's easier to identify and fix problems in smaller, specific sitemaps.

  • Exceeding these limits can result in incomplete indexing of your site.

  • By generating multiple sitemaps, you can ensure all your pages are properly indexed. It does this while staying within these limitations.

3. Optimize Your robots.txt File

  • The robots.txt provides instructions to search engine crawlers. It is about which parts of your site to crawl or not crawl. It is important to remember that robots.txt controls crawling and not indexing.

  • A page blocked by robots.txt might still be indexed if linked from other pages. By including links, you're making it easier for search engines to find and process your site's content. Here is why this is important:

    1. Faster Discovery: Search engines check the robots.txt file first when visiting your site. Including sitemap links here ensures quick discovery.

    2. Multiple Sitemap Support: You can list multiple sitemaps. It is especially useful for large stores with separate sitemaps for different content types.

    3. Complementary to Webmaster Tools: Submit sitemaps through webmaster tools. Listing them in robots.txt also provides an additional discovery method.

4. Monitoring Sitemap Performance

Monitoring Magento seo Sitemap Performance

  • Google Search Console provides valuable insights into how Google crawls and indexes your site. It allows you to identify and address issues quickly. Here are a few key metrics to monitor:

    1. Submitted vs. Indexed Pages: Look at the number of URLs submitted in your sitemap. Compare it to the number actually indexed by Google. Suppose you've submitted 1000 URLs, but only 800 are indexed. Investigate why 200 pages aren't being indexed.

    2. Last Read Date: This shows when Google last processed your sitemap. If it's been a long time, it might indicate an issue with your sitemap's format.

    3. Errors and Warnings: Check for any red flags or warning symbols next to your sitemaps. For example, a red error symbol means Google can't access your sitemap file. It could be because your server is blocking Google's access.

  • Prioritize red errors over yellow warnings. Errors are more likely to impact your site's indexing.

  • Use the "Validate" feature in Google Search Console after making changes. It is to ensure the issues are resolved.

  • After fixing errors, resubmit your sitemap to prompt Google to recrawl it.

FAQs

1. What is the purpose of a Magento 2 sitemap generator?

The Magento 2 sitemap generator helps you create a structured list of your store's pages. It makes it easier for web crawlers to index your site and improve SEO.

2. How can I create an HTML sitemap in Magento 2?

To create an HTML sitemap in Magento 2, use a sitemap extension. Use one that generates a user-friendly navigational page. This HTML sitemap improves navigation and user experience on your Magento store.

3. What types of sitemaps does Magento 2 offer?

Magento 2 offers two main types of sitemaps. They are XML sitemaps for search engines and HTML sitemaps for user navigation. Both sitemap configurations enhance SEO and usability.

4. How do I configure the Magento XML sitemap?

To configure the Magento XML sitemap, navigate to the SEO settings in your Magento 2 admin panel. Set the parameters for sitemap generation. It includes frequency, priority, and the inclusion of specific store pages.

5. Why should I use a Magento 2 sitemap extension?

A Magento 2 sitemap extension automates the creation of XML and HTML sitemaps. It ensures all relevant sitemap URLs are included. This extension provides advanced features to optimize your store's SEO and indexing.

CTA

Summary

Magento SEO sitemaps are useful indicators to leverage ranking in any search engine on the internet. In this tutorial, we explained how to configure sitemaps and their best practices. Here is a quick recap:

  • Magento 2 sitemap extensions enhance your store's SEO.

  • Use Magento 2 extensions to generate an XML sitemap.

  • A sitemap page and sitemap URL help Google understand and crawl your site.

  • SEO extensions and suite extensions provide advanced tools for sitemap management.

  • Generating multiple XML sitemaps can improve your site's visibility.

Choose managed Magento hosting with detailed SEO sitemaps to rank and scale your online store.

Nanda Kishore
Nanda Kishore
Technical Writer

Nanda Kishore is an experienced technical writer with a deep understanding of Magento ecommerce. His clear explanations on technological topics help readers to navigate through the industry.


Get the fastest Magento Hosting! Get Started