RSS Feed not working
-
Hello,
My RSS feed isn’t working. Link: http://mikemullinauthor.com/feed/
Can you help me figure out the problem?
Thanks!
-
Try deactivating all plugins and switch to the default Twenty Thirteen theme
I can’t do that… this site is live and has over 3k people visit it every day. Is there something in the code?
Then I recommend you install WordPress locally so that you can test these things, not just now but in the future as well: http://codex.wordpress.org/Installing_WordPress#Local_Installation_Instructions
So install the theme locally and disable all of the plugins and see if that works?
Yeah, see if you can replicate your live site from the “moving wordpress” articles: http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change
Well, running it through feedvalidator.org and looking at the source, you have a blank line at the beginning of the feed causing it not to work. My first guess would be to look at /wp-includes/feed-rss2.php and make sure there is no blank line at the beginning. The top part of the file should look something like this:
<?php /** * RSS2 Feed Template for displaying RSS2 Posts feed. * * @package WordPress */ header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true); $more = 1; echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" <?php /** * Fires at the end of the RSS root to add namespaces. * * @since 2.0.0 */ do_action( 'rss2_ns' ); ?> >
Make sure there is no blank line before the opening PHP tag and no new line where it has:
echo '<?xml version="1.0"
Hope that helps,
I would be hasty to recommend editing core files
Well, at least you know what the problem is. Now it’s a matter of determining what is causing that blank line to be there. In any event as Andrew has mentioned, I would recommend creating a separate test blog, either on your PC or on your webhost (this would most closely match the environment your current blog is running under: OS, Apache, PHP, and MySQL versions).
For example, my test blog on my PC (Windows 7 Pro 64bit) was able to update to 3.8.1 just fine, but my production blog was failing due to an issue with the webhost’s server, which has since been corrected. I made a separate test blog (different sub-domain, directory, and database) on my host running version 3.8 to do all my testing with to get the update to work.
I looked at the code and there was no space on top: http://cl.ly/image/1z2D1P1S1F46
I made sure there was no spaces but it still doesn’t work. I’ve duplicated the site onto another part of my server and working off that one too but it’s the same problem.
Hi I am having a similar problem at my site – http://www.trueshayari.in/
Feed url – http://trueshayari.in/feed
It was working previously but now a days its not working.
Does anyone know a how to fix?I have check also on http://validator.w3.org/
Its saying that – “This is a valid RSS feed.”Tell me where i am doing wrong ?
- The topic ‘RSS Feed not working’ is closed to new replies.