Site logo

[Support request] Unnecessary rss feed on post.

Home Forums Support [Support request] Unnecessary rss feed on post.

Home Forums Support Unnecessary rss feed on post.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2531171
    Samuel

    How can i remove the /feed/ after my post?

    Assuming my domain.com/feed/ (this is normal)

    but now recently I’m seeing domain.com/post-title/feed.

    Please refer to this : bit.ly/3K3fOzH

    How can I remove it? i still want to keep the domain.com/feed

    #2531278
    David
    Staff
    Customer Support

    Hi there,

    those would be created by the feed_links_extra function:

    https://developer.wordpress.org/reference/functions/feed_links_extra/

    You can simply tell WP to not include any of the extra links listed there with one PHP Snippet to unhook them:

    remove_action( 'wp_head', 'feed_links_extra', 3 );

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.