• Resolved 4smartbiz

    (@4smartbiz)


    I’ve noticed that restricted posts show up in the posts sitemap. Can this be turned off or disabled?

    I’d like to create posts that are not visible in any way (even the slugs or titles) if you are not logged into the website and have the appropriate membership level.

    • This topic was modified 2 years, 2 months ago by 4smartbiz.
    • This topic was modified 2 years, 2 months ago by 4smartbiz.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support ramilbatoy

    (@ramilbatoy)

    Hi @4smartbiz,

    You can enable the Hide Restricted Posts option on Restrict > Settings > Misc. When enabled, posts requiring a paid subscription will be hidden from queries when a user is not logged in.

    Best regards,

    Thread Starter 4smartbiz

    (@4smartbiz)

    Sadly, that doesn’t do it. I’ve had that set since initial installation.

    The sitemap.xml file still shows that the post exists and gives the URL (slug). Of course, the person clicking on the link can’t actually see the post.

    However, they can glean info from the slug about the content that I’d rather they not have access to without a subscription.

    For example, if I am giving a summary of a specific concept with an unusual conclusion, the title, which forms the slug, will likely lead a person to this unique conclusion.

    • This reply was modified 2 years, 2 months ago by 4smartbiz.
    Thread Starter 4smartbiz

    (@4smartbiz)

    For goodness sake, it appears that the problem is with Yoast. Not with RCP.

    Once I disabled Yoast, then the wp-sitemap.xml file only shows unrestricted content.

    Is this something that your team could forward to Yoast? Should I open a thread on their plugin support page?

    • This reply was modified 2 years, 2 months ago by 4smartbiz.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘restricted posts in sitemap’ is closed to new replies.