For all of my clients’ sites, I install WordPress in a directory in the site root.
This plugin is working correctly for the most part, however, for the RSS feed url and the itunes subscription urls, it is including my wp directory in the path, which breaks the links to the feeds.
For generating the feed urls in the template(s), it should use “get_home_url”, not “get_site_url”.
Example in the layout-podcast.php template:
$feed_url = trailingslashit( get_site_url() ) . '?feed=podcast';
..which does not work.
$feed_url = trailingslashit( get_home_url() ) . '?feed=podcast';
.. which does work.
I’ve fixed this in my theme’s layout-podcast.php template, but just a heads up in case anyone has this issue with WordPress running in a directory, and are trying to use the default templates.
- The topic ‘Incorrect feed URLS’ is closed to new replies.