- Installing SureRank
- SureRank Onboarding Guide
- How to Activate Your SureRank Pro License
- SureRank Dashboard Overview
- General Settings
- Advanced Settings
- Search Console – SureRank
- Managing URL Redirection in SureRank
- SureRank Feature Management – Quick Guide
- Robots.txt Feature in SureRank
- How to Migrate from Rank Math to SureRank
- How to Migrate from Yoast to SureRank
- How to Migrate from SEOPress to SureRank SEO
- How to Migrate from Squirrly SEO to SureRank
- How to Migrate from All in One SEO (AIOSEO) to SureRank
- How to Migrate from Slim SEO to SureRank
- How to Migrate from The SEO Framework to SureRank
- Migration Failed: How to Diagnose
- After You Migrate: Verification and Cleanup Checklist
- Sitemaps in SureRank
- How to Enable Video Sitemap in SureRank Pro
- How to Enable the News Sitemap in SureRank
- How to Show the HTML Sitemap on Your Site in SureRank Pro
- How to Regenerate the Sitemap After Excluding a Post Type in SureRank
- Change the Sitemap URL in SureRank
- How to Enable Author Sitemap in SureRank
- How to Exclude Post Types from the Sitemap
- How to Enable the Author Sitemap and Why Authors Are Excluded (Pro)
- Editing Meta Box
- SureRank – Page SEO ChecksÂ
- Enabling Page SEO Checks in WordPress
- Image Alt Text – Automatic Optimization
- Link Manager
- Using the SureRank Front-End Meta Box
- How to Edit the Meta Title and Description for a Single Page or Post
- Controlling Indexing with Robot InstructionsÂ
- How to Set Global Title and Description Templates with Variables
- How to Set a Canonical URL and How the Canonical Field Works
- How to Fix WWW and Non-WWW Version Redirects to Improve Your SEO
- How to Fix: No H1 Heading Found on Your Homepage
- How to Fix Missing H2 Headings on Your Homepage
- Re-run Checks Button in SureRank
- Fix Critical Error: Another SEO Plugin Detected in SureRank
- Fix Warning: Site Tagline Is Not Set in SureRank
- How to Fix: Robots.txt Contains Invalid Rules in SureRank
- How to Fix Multiple SEO Plugins Detected on Your Site
- How to Fix: Homepage is Not Indexable by Search Engines
- Warning: Homepage Does Not Contain Internal Links
- How to Fix: Search Engine Title is Missing on the Page
- Page Level SEO: Broken Links Detected
- How to Fix Missing Alt Text on Images
- How to Fix Page URLs That Are Too Long
- Page Level SEO Warning: No Links Found on This Page
- Page Level SEO Warning: No Images or Videos Found
- Page Level SEO Warning: Missing Search Engine Description
- Page Level SEO Warning: No Subheadings Found on This Page
- Page Level SEO Warning: Canonical Tag is Missing
- Page Level SEO Warning: Open Graph Tags Missing
- What is Google Search Console and how does SureRank use it?
- Recommended Image Sizes
- SureRank – SEO Check Severity Guide
- Using SureRank with Other SEO Plugins – Best Practices
- Import/Export Feature – SureRank Plugin
- What is llms.txt and Does SureRank Support It?
- Does SureRank offer a keyword rank-tracking feature?
- Does SureRank Come With Google Analytics Integration?
- Email Summary in SureRank
- SureRank Role Manager
- Fixing a Fatal Error After Updating SureRank
- SureRank Server Requirements
- Search Engines Not Indexing Your WordPress Site?
- Sitemap Not Showing in SureRank
- Fixing robots.txt Issues in SureRank
- Why a Working Link Is Flagged as Broken (404)
- Which Pages Are Included in Your SureRank Sitemap
- Fixing False SEO Audit Warnings Caused by Caching
- Fixing “Couldn’t Fetch” for Your Sitemap in Google Search Console
- Troubleshooting: Favicon and Logo in Google Search Results (Supported Formats and CDN Gotchas)
- Customize XML Sitemap Top Bar with surerank_sitemap_top_bar_data
- Analyze ACF Field Content with SureRank
- Preserve Modified Date During Updates surerank_freeze_modified_date
- Customize Final Title Tag surerank_final_title
- Customize Post Type Archive Title Output surerank_post_type_archive_title
- Customize Archive Page Title with surerank_archive_title
- Customize the Search Results Page Title surerank_search_title
- Customizing the 404 Page Title surerank_not_found_title
- Customizing the Title Separator surerank_title_separator
- Disable SureRank’s Document Title Integration
- What Is AI Ready in SureRank?
- How to Fix the Indexing and Snippet Rules Result in SureRank AI Ready Checks
- How to Fix the Home Page Text Without JavaScript Result in SureRank AI Ready Checks
- How to Handle the OAuth Discovery Result in SureRank AI Ready Checks
- How to Handle the A2A Agent Card Result in SureRank AI Ready Checks
- How to Handle the Web Bot Auth Result in SureRank AI Ready Checks
- How to Fix the Site Slow and Site Unreachable Results in SureRank AI Ready Checks
- How to Fix the llms.txt Result in SureRank AI Ready Checks
- How to Fix the Content Signals Result in SureRank AI Ready Checks
- How to Fix the MCP Server Card Result in SureRank AI Ready Checks
How to Regenerate the Sitemap After Excluding a Post Type in SureRank
SureRank offers a Sitemap Excludes feature that allows you to Exclude Post Type from appearing in your XML sitemap. This removes the selected post type from the sitemap, but search engines may still discover and index its pages through other links. To prevent indexing, use a noindex directive and allow search engines to crawl the page.
After changing Sitemap Excludes, save your settings and check the sitemap index and the relevant child sitemap. If the output is stale, clear any page, server, or CDN cache and use the available regeneration method below.

When Should You Regenerate the Sitemap?
Check the published sitemap after you:
- Exclude or include any post type using the Sitemap Excludes setting.
- Modify existing exclusions.
If excluded URLs still appear, check caching and regenerate when the option is available. Exclusion from a sitemap does not itself prevent indexing.
How to Regenerate the Sitemap in SureRank
The available update method depends on your SureRank version and sitemap generation mode.
1. Using WP-CLI
If you have access to the command line on your server, run the following command:
wp surerank generate_cache –force
This requests a forced cache rebuild. Check the resulting sitemap after processing completes.
If your SureRank Sitemaps settings show a Regenerate button, you can use it to start a manual rebuild instead.
2. Scheduled background generation
In background generation mode, SureRank uses scheduled WordPress cron events to rebuild the sitemap.
A scheduled event can refresh the sitemap when WordPress cron runs. Low traffic, disabled cron, or cron failures can delay it. Check the sitemap after the event runs.
On-the-fly generation builds missing sitemap pages when they are requested. If your site uses background generation and the output stays stale, check your cron configuration or use an available manual method.
Summary
| Action | Required? | Method |
| Changed Sitemap Excludes? | Yes | Regenerate Sitemap |
| Regenerate Manually? | Optional but faster | wp surerank generate_cache via WP-CLI |
| Auto Regeneration? | Yes (every 24 hours) | Via WordPress cron |
By following the above steps, you can ensure that your sitemap remains clean, accurate, and SEO-optimized according to your exclusions.
We don't respond to the article feedback, we use it to improve our support content.