awesomemotive / all-in-one-seo-pack

All in One SEO plugin for WordPress SEO
https://aioseo.com
341 stars 156 forks source link

Exclude list not reflecting RSS feeds #2215

Closed weirdnose closed 5 years ago

weirdnose commented 5 years ago

Please fill out this form as completely as possible so that we can help you more quickly.

Describe the bug Within my WordPress installation I want to be able to host a podcast. I want to publish this podcast to Google Podcasts. As is happens Google Podcast expects a RSS feed (see https://developers.google.com/search/docs/data-types/podcast).

When creating the podcast RSS with the plugin Seriously Simple Podcasting it will show fine within the browser.

Unfortunately for this case, RSS feeds are set automatically to "noindex, follow" by the AIO SEO plugin. Since "noindex" is set, Google will not read the podcast RSS feed and show an error in Google Search Console (translated from german: "Not indexed. Found value noindex in HTTP header x-robots-tag".

I verified the response with Postman. If the AIO SEO plugin is disabled, no x-robots-tag is being provided.

Now to exclude the RSS feed from being processed within the plugin I added the podcast url to the exclude list within the settings of the SEO plugin.

This setting is ignored and the RSS feed will still have the x-robots-tag "noindex, follow" set. For Google Podcasts to process correctly it must be "index, follow" or not set at all.

To Reproduce Steps to reproduce the behavior:

  1. Go to All In One SEO settings
  2. Add podcast RSS to "Advanced settings" / "exclude pages" (translated from German)
  3. Save settings
  4. Pull RSS feed, still holds x-robots-tag "noindex, follow"

Expected behavior I expected the exclude list in the advanced settings to also include RSS feeds.

Screenshots

Version Info (please complete the following information):

Additional context

arnaudbroes commented 5 years ago

I was able to reproduce. This is still happening even when all noindex options have been disabled in the plugin.

wpsmort commented 5 years ago

We added noindex for RSS feeds in #356. We should adda filter to remove this. Requested again here - https://semperplugins.com/upgrading-to-2-9-seo-meta-disappear/#comment-24206