• Resolved geek89

    (@geek89)


    Hi. I’ve enabled the setting to remove global feed under the Crawl optimization section. I believe that this setting should just remove the feed from the head section. But, it turns out that, while this setting is enabled, the global feed (mysite.com/feed) is redirecting to my home page.

    It is intentional? Or, am I missing something here?

    I was expecting this setting to remove feeds from my site’s frontend, but it kills the RSS feature.

    • This topic was modified 11 months, 1 week ago by geek89.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Suwash

    (@suascat_wp)

    @geek89

    We understand that the /feed is redirecting to the homepage. We can see how this might give you pause. We are happy to take a look! Let’s see what is going on.

    Curious, are you using Yoast SEO Premium? If that’s the case, a redirect may have been added based on the Crawl settings you have selected for the feed, so to confirm this, can you please navigate Yoast SEO > General > then click on the Advanced (tab) > Crawl Optimization (submenu) > then navigate to the heading “Disable unwanted content formats” > and check whether you have set the Remove Global feed as togged on or not, see screenshot attached for your reference? If it’s set as toggled on like on the screenshot, can you please toggle it back to disable and click the save changes button?

    If you’re using Yoast SEO free and this issue is still happening, let us know.

    Thread Starter geek89

    (@geek89)

    Thanks @suascat_wp for your reply.

    I’m using the Free version of Yoast plugin, and this issue is still there.

    I have disabled this setting, and manually injected the following code (in themes’ functions file) in order to remove RSS links from the head :

    remove_action( 'wp_head', 'feed_links_extra', 3 );
    remove_action( 'wp_head', 'feed_links', 2 );
    remove_action( 'wp_head', 'rsd_link' );

    This way my RSS feeds are still working. Thanks anyway.

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for the feedback, @geek89.

    When you toggle the button to remove global feed in WordPress > Yoast SEO > Settings > Crawl optimization, it removes the feed from the head section. And mysite.com/feed/ redirects to mysite.com.

    However, it’s been discovered this might be undesirable in some scenarios. So we have an open GitHub issue to remove “Remove Global Feed” from Crawl Optimization feature.

    Thank you for sharing your workaround with us.

    • This reply was modified 11 months, 1 week ago by Maybellyne.

    I have the same problem of RSS feed redirecting to home page. It comes up every week on my Ahrefs site audit – and I don’t know how to fix it. I don’t use Yoast.

    I’ve tried clearing my cache, deactivating my plugins, testing with a different theme – all the suggestions I was able to find online. To no avail. Are there any other suggestions please?

    gretablue

    (@gretablue)

    Update – I’ve found the cause of the redirections. It’s a setting on the SG Security plugin which allows you to disable RSS feeds for security reasons. It was toggled on.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘RSS Feeds Redirecting to Home page’ is closed to new replies.