[Plugin: Google XML Sitemaps] Excluded Categories should exclude the category slug as well (3 posts)

  1. TradingMetro
    Posted 7 years ago #

    Hi Arne,

    Under "Sitemap content", if you have "Include categories" checked, and you also have a few categories checked off under "Excluded categories", the checked category indexes for "Excluded categories" should be excluded as well.

    But right now, they are not.

    Please fix this for the next version of your plugin!

  2. kgrogan
    Posted 7 years ago #

    At first I thought the category exclusion was being ignored, but you are right, the posts in the category are excluded, but the category index page still shows up in the sitemap file. This makes it harder to hide things, expecially since the .xml file is viewable by anybody (similar to robots.txt)

    I guess a workaround would be to Disallow the excluded category in the robots.txt file (without revealing its whole name), and allow only the search engines access using .htaccess (this is a pain).

  3. Arne Brachhold
    Posted 7 years ago #

    Fixed in the next version, thanks for reporting.

Topic Closed

This topic has been closed to new replies.

About this Topic