Feed URLs in GSC

#846845
  • Resolved Timo Szado
    Rank Math free

    Hello, I have just launched a website on WordPress and connected it to GSC (the previous one was on Joomla)

    In GSC I see a lot of unverified different URLs from the feed, e.g.
    domain.com/course-category/zsp3/feed
    domain.com/blogpost1/feed
    domain.com/category-blogpost/feed
    domain.com/product/book-4/feed

    How to easy remove it by Rank Match?
    I found something like that: https://support.rankmath.com/ticket/feed-urls-optimization/

    Regards
    Tomek

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the issue you are facing with the unverified feed URLs in Google Search Console (GSC). To remove or manage these feed URLs using Rank Math, you can disable RSS feeds entirely or redirect them as needed.

    Disabling RSS Feeds in WordPress with Rank Math

    You can disable RSS feeds by adding the following code to your theme’s functions.php file:

    // Disable RSS Feeds and redirect to homepage
    function disable_rss_feeds() {
        wp_redirect(home_url());
        exit();
    }
    add_action('do_feed', 'disable_rss_feeds', 1);
    add_action('do_feed_rdf', 'disable_rss_feeds', 1);
    add_action('do_feed_rss', 'disable_rss_feeds', 1);
    add_action('do_feed_rss2', 'disable_rss_feeds', 1);
    add_action('do_feed_atom', 'disable_rss_feeds', 1);
    add_action('do_feed_rss2_comments', 'disable_rss_feeds', 1);
    add_action('do_feed_atom_comments', 'disable_rss_feeds', 1);

    If you’re not comfortable adding code directly, you can also use a plugin like Disable Everything to easily disable your RSS feeds.

    Additional Steps

    After making these changes, ensure that you resubmit your sitemap in GSC to reflect the updates. You can find your sitemap at https://yourdomainname/sitemap_index.xml.

    If you have any further questions or need assistance, please feel free to reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    How to Disable RSS Feeds in WordPress » Rank Math

    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. 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.

    Thank you very much for the information, I decided to add an entry in the robots.txt file

    Thx

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me 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-post about 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.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Feed URLs in GSC’ is closed to new replies.