WP_Sitemaps Exclusion? Hard Time Finding Documentation
-
Hello,
I’m having a hard time finding documentation about WordPress core’s Sitemaps feature. I only recently discovered it was built into WordPress core. The issue I’m having is I used demo content to speed up learning how to work with an Elementor theme. While I was setting up a Google Ads campaign I noticed it suggested pages that I had no links pointed to and figured out sitemap.xml included everything on the site. After setting the demo content to drafts, I noticed other pages that I need excluded.
I have a landing page that I’m running Google Ads campaign too. I only want the traffic from the Google Ad to flow to this page as it contains special pricing for the target audience. This page is exposed by the sitemaps.xml page, and anyone curious enough to view it. How do I exclude my special landing page from sitemaps.xml? How do I exclude special user accounts (like vendors, other admins, marketing team members) that are not allowed to be exposed by sitemap.xml?
- You must be logged in to reply to this topic.