My Editors’ Pick RSS Feed is giving a 404 error, what should I do?

Last update: 13 July, 2018

First of all, the Editor’s Pick feature was removed in Yoast SEO: News 7.6 as the new version of Google News no longer supports this tag.

Secondly, if you still have this feature, please update your News SEO plugin.

Let us be clear that this issue is usually not due to our plugin, but due to poorly coded themes and/or other plugins. Besides that

A 404 error basically means that the RSS feed does not exist for a variety of reasons.

  • Sometimes resetting the permalink structure will quickly solve a 404 error from a recent change to your installation. Go to Admin > Settings > Permalinks and click save without altering anything. ( How to Guide available here.)
  • Check that items exist in order to create the RSS feed. Have you marked posts to be included in the feed?
  • If you still receive a 404, check the rewrite rules (found below) for your setup.

Using Apache

Add the following to your .htaccess file. You can edit this file under SEO > Tools > File Editor or directly on your server.

# Yoast News SEO - Editors' Pick RSS Rewrite Fix
RewriteEngine On
RewriteBase /
RewriteRule ^editors-pick.rss$ /index.php?wpseo-news-editors-pick=all [L]
# END Yoast News SEO - Editors' Pick RSS Rewrite Fix

Note: You might have to modify this if you are running WordPress in a subfolder.

Using NGINX

Add this to your NGINX config:

# Yoast News SEO - Editors' Pick RSS Rewrite Fix
location ~ ([^/]*)editors-pick(.*).rss$ {
  rewrite ^/editors-pick.rss$ /index.php?wpseo-news-editors-pick=all last;
}

Note: You might have to modify this if you are running WordPress in a subfolder.

Was this article helpful? ·