-
We’re getting 404 errors from a rank math product feed. with thousands of products thats thousands of 404s. These first 1,000 in GSC are product URLs that end in /feed.
Have you encountered this with large catalog ecommerce shops?
Thank you
-
Hello,
We apologize for the issue you are facing with the 404 errors in your Rank Math product feed. It can indeed be challenging to manage a large catalog of products, especially when encountering such errors.
404 errors typically occur when a URL is not found on your website. In the case of product feeds, it’s possible that the URLs ending in
/feedare not correctly set up or that the products have been removed or moved without proper redirects.To address this issue, we recommend the following steps:
- Check the Product Feed Settings: Ensure that your product feed settings in Rank Math are configured correctly and that the URLs are pointing to valid product pages.
- Redirect Removed Products: If certain products have been removed, consider setting up 301 redirects from the old product URLs to relevant pages or your shop’s main page to preserve any link equity.
- Monitor and Fix Broken Links: Use Rank Math’s 404 Monitor to identify and fix any broken links that may be causing these 404 errors.
- Custom 404 Page: Create a user-friendly custom 404 page that guides visitors to other relevant content on your site.
For more detailed guidance on fixing 404 errors, you can refer to our guide on monitoring 404 errors.
If you need further assistance, please reply to this ticket, and a human agent from the Rank Math Support team will take over and provide more specific help.
Thank you for raising this concern!
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Feed URLs are only the basic code versions of your actual content pages and are generated by WordPress. You will not want these pages to be indexed as Google doesn’t like them and would most not likely not show them to users anyway.
If you want to disable them on your site, you can follow this guide:
https://kinsta.com/knowledgebase/wordpress-disable-rss-feed/Alternatively, you can disallow bots from crawling the feed URLs from the robots.txt file at WordPress Dashboard > Rank Math > General Settings > Edit Robots.txt
User-Agent: * Disallow: */feed*Once done, give Google some time to recrawl your site to reflect the changes.
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.
If you want to disable them on your site, you can follow this guide:
https://kinsta.com/knowledgebase/wordpress-disable-rss-feed/THank you for your response.
What about if I want to keep the other RSS feed for the blog but only disable the product RSS feed?
The plugins including perfmatters look to disable all RSS feeds.
But the code method looks more granular:
The example from the article shows this to disable:
function itsme_disable_feed() {
wp_die( __( ‘No feed available, please visit the homepage!’ ) );
}add_action(‘do_feed’, ‘itsme_disable_feed’, 1);
add_action(‘do_feed_rdf’, ‘itsme_disable_feed’, 1);
add_action(‘do_feed_rss’, ‘itsme_disable_feed’, 1);
add_action(‘do_feed_rss2’, ‘itsme_disable_feed’, 1);
add_action(‘do_feed_atom’, ‘itsme_disable_feed’, 1);
add_action(‘do_feed_rss2_comments’, ‘itsme_disable_feed’, 1);
add_action(‘do_feed_atom_comments’, ‘itsme_disable_feed’, 1);If I want to keep the blog RSS feed but only disable the product RSS causing us problems in GSC, how can we edit this code above to do this?
Can you assist with editing this code to remove just the product feed?
THANK YOU, I thought it was going to stop after the bot answer, thanks for coming in after that.
Hello,
You can’t disable the feed for a specific post type. If you want to keep the feed enabled, you should use the robots.txt file to add the disallow rule and prevent search engines from crawling the feed URLs.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hi,
Since adding this in robots.txt:
User-Agent: *
Disallow: */feed*would disallow all feeds,
How could this be edited to adjust for ONLY the Rank Math product feed?
Thank you
Hello,
Please note that Rank Math does not generate feed URLs or product feeds on websites.
However, if you want to apply the disallow rule to your products only, you can use this disallow rule instead:
Disallow: /product/*/feed/Looking forward to helping you.
Thank you for this.
So if Rank Math doesn’t produce the product feed, could it be a past SEO plugin or another plugin?
It also uses woo commerce.
I’ve realized now it’s WordPress and obviously not Rank Math. The source code should rank math ending right above it, and looking quick I thought it was within Rank Math. I see now how you say it’s WordPress. Thank you for the help marking as resolved.
Hello,
You’re welcome.
We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.
If you don’t mind us asking, could you please leave us a review (if you haven’t already) on
https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-postabout your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.
The ticket ‘Product Feed 404 URLs in GSC’ is closed to new replies.