How to Disable RSS Feed on WordPress Website

| Last Updated: | In: Code Snippets, WordPress Snippets


Someone has asked me a question “How to Disable RSS Feed on WordPress website” so that anyone can’t see the RSS feed of the site. Instead of RSS feed, he wants to display the custom message “No feed available, please visit the “http://www.domain-name.com”. How to Disable RSS Feed on WordPress Website Open your functions.php file …