- 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
- 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
- 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
- CustomizeModify the Search Results Page Title surerank_search_title
- Customizing the 404 Page Title surerank_not_found_title
- Customizing the Title Separator surerank_title_separator
- How to Remove Archive Prefixes from Titles Using SureRank
How to Exclude Post Types from the Sitemap
Want to keep certain content, like a specific post type or category, out of your XML sitemap? Here’s how it works in SureRank, and how to check if something you’ve excluded still seems to show up.
Two Different Ways to Keep Content Out of Your Sitemap
There are two separate tools for this, and it’s easy to mix them up:
| Available In | What It Does | |
| Set content to “noindex” | Free and Pro | Tells search engines not to index that content at all. As a side effect, it’s also automatically left out of your sitemap. |
| Exclude Post Type / Exclude Taxonomy | Pro only | Removes a post type or taxonomy from your sitemap file specifically, without affecting whether that content can still be indexed by search engines. |
If you’re on the free version of SureRank, there isn’t a dedicated “exclude from sitemap” option. SureRank’s free sitemap settings only include a switch to turn the sitemap on/off and a switch for including images. The only way to leave a whole post type out of your sitemap in the free version is to set it to noindex, which will also stop search engines from indexing it. If you want it out of the sitemap while still keeping it indexable, that requires SureRank Pro.
If you’re on SureRank Pro: go to SureRank → General → Sitemap → XML tab, where you’ll find Exclude Post Type and Exclude Taxonomy fields.
How to Exclude a Post Type (Pro)
- Go to SureRank → General → Sitemap → XML tab.
- Under Exclude Post Type, select the post type(s) you want to leave out of your sitemap.
- Under Exclude Taxonomy, do the same for any category/tag-style taxonomies.
- Click Save.
You don’t need to touch your permalinks or do anything else. The change takes effect for your sitemap generation.
Important: Excluding From the Sitemap Doesn’t Hide Content From Google
This is worth understanding clearly: excluding a post type from your sitemap only removes it from the sitemap file. It does not:
- Add a “noindex” tag to those pages
- Stop Google from finding and indexing them through internal links, external links, or a previous crawl
- Remove pages Google has already indexed
If your real goal is “don’t let Google index this content at all,” you need the no-index setting instead (or in addition), found in your Robots settings or on the individual post.
Why a Post Type Keeps Showing as “Selected” Even After You Uncheck It
If you keep removing a post type from Exclude Post Type and it reappears as checked the next time you open the page, this is expected, not a glitch. This field also displays any post type that’s set to “no-index” elsewhere on your site, since those are excluded from the sitemap regardless of this setting. You can’t uncheck those out of this field specifically.
To fix: if you want that post type back in your sitemap, go remove its “no-index” setting first (in your Robots settings), rather than trying to uncheck it here.
Why an Excluded Post Type Still Appears in Your Live Sitemap
If you’ve excluded a post type and saved your settings, but it’s still showing up when you check your actual sitemap file, try these two things:
Clear your caching plugin or CDN cache. If you use a caching plugin (like WP Rocket or W3 Total Cache) or a CDN, it may be serving an older, cached version of your sitemap file even after SureRank has updated it. Purge your cache (specifically for your sitemap URL, if your caching tool allows targeting one URL) and check again in a private browser window.
Still seeing the excluded content in your sitemap after trying both of the above? Contact SureRank support and let us know your sitemap URL and which post type you excluded.
We don't respond to the article feedback, we use it to improve our support content.