Can’t noindex posts
-
Hi,
I’m trying to find a way to exclude all posts of a given category (my regular posts, not events) from the sitemap. I use Yoast, which does not allow me to do that, so I’m using a filter to tag them. It works, but the posts, even with the tag, still show up on the sitemap.
These posts have a calendar on the sidebar, with the shortcodeevents_calendar.
If I use Yoast to apply the tag individually to the post, it works (it doesn’t show on the sitemap). The only difference between them (the post tagged by my filter and the post tagged by Yoast) is the ID of my calendar. I don’t understand why it changed, much less how could it affect my noindex tag.file1, tagged by my filter:
<div id="em-calendar-197" class="em-calendar-wrapper"><table class="em-calendar">same file1, after being tagged by Yoast:
<div id="em-calendar-142" class="em-calendar-wrapper"><table class="em-calendar">Any clue?
The page I need help with: [log in to see the link]
The topic ‘Can’t noindex posts’ is closed to new replies.