Do protected pages belong in my Sitemap?

Is it better to include the S2Member protected pages in my sitemap(s). I want to create both XML and HTML sitemaps.

I found that anyone who is not logged in sees a sitemap containing only the pages that are not protected, while logged in members see all protected pages as well.

Since users who are not logged in are redirected to the pricing page when they attempt to click on a protected page, the web crawlers will not have a problem following the links in the xml sitemap. My issue is resolved but I am leaving the post in place for others with the same question.

1 Like