WithCandour / statamic-aardvark-seo

Candour's SEO addon for Statamic
https://statamic.com/marketplace/addons/aardvark-seo
11 stars 18 forks source link

Exclude protected pages from sitemap #114

Open MrTammer opened 2 years ago

MrTammer commented 2 years ago

The password protected pages are being indexed on the sitemap, which prompts google to crawl those pages, reference the noindex page on those, and never comes back once these pages are no longer protected. I wondered if there could be an option to exclude protected pages from the generated sitemap?

MrTammer commented 2 years ago

As a generic enhancement, I would say giving the ability to exclude pages with a specific custom field would be a nice thing to have, as I had to go back to that issue recently using another field that we are using to flag some pages as "private".