Search
Generic filters
Exact matches only

Exclude a specific page from WordPress sitemap – wp-sitemap.xml

7th May 2021

Wordpress - Miscellaneous

wordpress category

Since WordPress now creates sitemaps automatically since version 5.5, excluding a particular page is not widely known.
The code below will exclude a page from the wp-sitemap.xml

Was this code snippet helpful?

Comment on this Code Snippet?