How To Redirect To Post If Search Results Return One Post In WordPress

How To Disable Feeds In WordPress

WordPress has its native feed service, so you don’t need to depend on a third-party service, but it’s only helpful for blog sites. If you run another type of website which doesn’t require feeds, you can easily disable feeds in WordPress. Here’s a simple and clean way to do it.

Just drop the following snippet to your current theme’s functions.php file:

Thanks to DigWP for this snippet.