Title: Invalid tag value
Last modified: August 21, 2016

---

# Invalid tag value

 *  Resolved [Milos Spasic](https://wordpress.org/support/users/spale/)
 * (@spale)
 * [12 years ago](https://wordpress.org/support/topic/invalid-tag-value-1/)
 * I have found a serious bug in All in One SEO Pack XML Sitemap.
 * I have installed it, and activated XML Sitemap. Later that day, all my site posts
   are marked as they have Errors in Google Webmaster Tools.
 * This was the Google Webmaster Tools Error in Sitemap:
 *     ```
       Errors  Invalid tag value This XML tag has an invalid value. Please fix it and resubmit.
   
       Parent tag: url
       Tag: priority
       Value: 0,9
       ```
   
 * I have inspected the source of the Sitemap and found the cause of an error. For
   priority values lower than 1.0 plugin use comma instead of a dot to separate 
   first and second number. It happens only for post priority values.
 * This is how it looks:
 *     ```
       <url>
       	<lastmod>2014-05-15T17:34:02Z</lastmod>
       	<changefreq>daily</changefreq>
       	<priority>0,8</priority>
       	<loc>http://www.example.com/post-url</loc>
       </url>
       ```
   
 * And it should be like this:
 *     ```
       <url>
       	<lastmod>2014-05-15T17:34:02Z</lastmod>
       	<changefreq>daily</changefreq>
       	<priority>0.8</priority>
       	<loc>http://www.example.com/post-url</loc>
       </url>
       ```
   
 * To be clear:
 * `<priority>0,8</priority>`
 * Should be:
 * `<priority>0.8</priority>`
 * Can you please fix this issue and release urgent plugin update.
 * [https://wordpress.org/plugins/all-in-one-seo-pack/](https://wordpress.org/plugins/all-in-one-seo-pack/)

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

 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [12 years ago](https://wordpress.org/support/topic/invalid-tag-value-1/#post-4927848)
 * Hi Milos,
 * Can you provide the URL for your site please. I can confirm that All in One SEO
   Pack does correctly generate the XML sitemap with the priority displayed with
   a period, i.e. 0.8
 *  Thread Starter [Milos Spasic](https://wordpress.org/support/users/spale/)
 * (@spale)
 * [12 years ago](https://wordpress.org/support/topic/invalid-tag-value-1/#post-4927852)
 * Hello,
 * I have found what was causing the problem. It was PHP locale settings of my web
   server. When I have set PHP locale to en_US, issue disappeared.
 * This solved the issue for me:
 * `setlocale( LC_ALL, 'en_US' );`
 * I hope this will help somebody.
 * Regards

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

The topic ‘Invalid tag value’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Milos Spasic](https://wordpress.org/support/users/spale/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/invalid-tag-value-1/#post-4927852)
 * Status: resolved