Alex Wells website developer logo

Main menu

  • Home
  • Blog
    • Tutorials
    • Bookmarks
    • Website Q&A
    • Submit a Question
  • Web Development
    • Website Projects
    • WordPress
    • Portfolio
  • About me
    • Photography
  • Contact me
    • Website review
Follow Alex Wells on Twitter connect with Alex Wells on LinkedIn alex-wells.co.uk rss feed

Home > WordPress RSS feed white space fix!

Post navigation

← Wireframing tutorials with fireworks
WordPress page slug →

WordPress RSS feed white space fix!

Posted on November 16, 2011 by alex

If your WordPress website has white space in any of the PHP code then it can cause your RSS feeds to not work, this problem can be caused by faulty plugins, themes or the WordPress files in general. Looking through all of the files removing white space is very time consuming and may not solve the problem. The first time i encountered this problem it was due to white space being added via a plugin, i discovered this by disabling the plugins one by one and refreshing the RSS feed page (Ctrl +F5). The second time however this did not fix the problem.

The solution i have found this time is the addition of a PHP script onto your site which will remove the white space for you

The file needs to be uploaded into your root directory, you then need to edit your index.php file to include the script (see the read me file in the download)

wordpress white space.zip

The original source of this amazing fix is:

http://www.piotrkrzyzek.com/wordpress-remove-blank-line-from-rss-feed-wordpress-error-on-line-2-at-column-6-xml-declaration-allowed-only-at-the-start-of-the-document/#comment-2920

 

 

 

This entry was posted in Bookmarks. Bookmark the permalink.

Post navigation

← Wireframing tutorials with fireworks
WordPress page slug →

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Share this page

My Projects

Owlmarks.com

Web developer at

Website design bishops stortford

Twitter


alex-wells.co.uk RSS feed

Categories

  • Blog
  • Bookmarks
  • home
  • Photography
  • portfolio
  • Tutorials
  • Website Q&A
  • WordPress

Archives

  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011

Recent Posts

  • What are Domain names, and how do i chose one?
  • Importance of Colour In Web Design:14 Useful Free PDFs for Web Designers
  • What are the most popular Content Management Systems (CMS)
  • What are website wireframes?
  • Show how many queries wordpress needs to do and how long they take

Contact me

info@alex-wells.co.uk
@alex_simpsons
Alex Wells at Brand Yourself.com

Pages

  • About me
  • Contact me
  • Portfolio
  • Submit a Question
  • Web Development
  • Website Projects
  • Website review

Share this page

30 queries in 0.298 seconds.
© Alex Wells 2012