Title: RSS feed error
Last modified: August 19, 2016

---

# RSS feed error

 *  [loades](https://wordpress.org/support/users/loades/)
 * (@loades)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-error-30/)
 * WordPress 3.0.1 Theme Cutline 1.4-3CR, the faulty RSS feed can be found at [http://loades.net/megabusblog/?feed=rss2](http://loades.net/megabusblog/?feed=rss2)
 * The problem is that Google Webmaster Tools is reporting ‘Invalid tag value’ which
   it wants me to fix and then resubmit – if only I can find out how to! The invalid
   tag value appears to be the line which says <language />. The web site language
   is English and I think the tag value should be ‘en’? If this is correct how do
   I insert it into the feed?
 * Thanks, Malcolm

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-error-30/#post-1674495)
 * [this should help you](http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Floades.net%2Fmegabusblog%2F%3Ffeed%3Drss2)
 *  Thread Starter [loades](https://wordpress.org/support/users/loades/)
 * (@loades)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-error-30/#post-1674575)
 * Thanks, Samuel.
 * The link confirms that my feed does not validate and confirms that it’s the language
   tag which is wrong. Question is how do I fix it? If WordPress generates the rss
   feed is it a fault with WordPress? Or, is it a setting I’ve not made correctly?
 * Malcolm
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-error-30/#post-1674775)
 * I would be more likely to guess a plugin(s)
 *  Thread Starter [loades](https://wordpress.org/support/users/loades/)
 * (@loades)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-error-30/#post-1674802)
 * Deactivated all plugins and still the same.
 * However, I have cured the problem and post the cure here in case someone else
   has the same problem in the future.
 * \wp-includes\feed-rss2.php had the following line in it:-
    <language><?php echo
   get_option(‘rss_language’); ?></language> I changed the line to:- <language>en-
   GB</language> The feed now validates!
 * It could also have been changed to en-US should that have been applicable.
 * I don’t understand php but it looks like (only a guess) that the original line
   was to take the RSS language from some place where it had been set as an option.
   I couldn’t find anywhere where there was an option to set the RSS language. If
   that’s true then surely this is a WordPress 3.0.1 fault since the fault is in\
   wp-includes\feed-rss2.php?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘RSS feed error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [loades](https://wordpress.org/support/users/loades/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-error-30/#post-1674802)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
