<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress &#8250; Support &#187; Tag: xml-sitemap-feed - Recent Posts</title>
		<link>http://wordpress.org/tags/xml-sitemap-feed</link>
		<description>WordPress &#8250; Support &#187; Tag: xml-sitemap-feed - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 15:05:16 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://wordpress.org/support/rss/tags/xml-sitemap-feed" rel="self" type="application/rss+xml" />

		<item>
			<title>RavanH on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemaps not created"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemaps-not-created#post-2521526</link>
			<pubDate>Sun, 25 Dec 2011 22:42:57 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2521526@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>If, after activating the plugin (with whatever non/permalink structure you choose) there is no /index.php?feed=sitemap available and you get to see a message saying 'ERROR: sitemap is not a valid feed template', there is something wrong... Check the error logs to see if you can find related messages.</p>
<p>About the permalink structure: in my view, it really does not matter which permalink structure you choose. Why not just the usual one with the date in it? The days that Google took notice of how near the title terms were to the top level domain name in the URL (closer to the beginning meant higher importance) have long gone. It's more about linking now anyway. Your latest news needs to be linked to directly from the home page :)
</p>]]></description>
					</item>
		<item>
			<title>wpaholic on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemaps not created"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemaps-not-created#post-2520760</link>
			<pubDate>Sat, 24 Dec 2011 22:51:17 +0000</pubDate>
			<dc:creator>wpaholic</dc:creator>
			<guid isPermaLink="false">2520760@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I will try again. I had your plugin loaded and not only did I not see the files in my directory but my articles were not appearing in Google news. For a news site would you suggest a permalink structure like /%postname%/%post_id%/ ? I will change the permalinks and try again with your plugin. Thanks &#38; happy holidays!
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemaps not created"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemaps-not-created#post-2517651</link>
			<pubDate>Thu, 22 Dec 2011 20:59:05 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2517651@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>OK looking at your site, I see no proof of my plugin being activated. You should at least have two xml sitemaps available. A regular one on /?feed=sitemap and a xml news map on /?feed=sitemap-news</p>
<p>If you are sure you have activated the plugin, you might try to resave your Permalink structure...</p>
<p>After that, you will need to remove the physical files called sitemap.xml and sitemap-news.xml (plus maybe the versions with .gz behind their names) and if there is a robots.txt file in your site root, you will need to remove that as well.</p>
<p>My plugin will not (re)create any of these files but they will be dynamically served just like normal feeds.
</p>]]></description>
					</item>
		<item>
			<title>wpaholic on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemaps not created"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemaps-not-created#post-2517426</link>
			<pubDate>Thu, 22 Dec 2011 18:49:21 +0000</pubDate>
			<dc:creator>wpaholic</dc:creator>
			<guid isPermaLink="false">2517426@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Had been using a separate plugin for both news and google sitemaps and those generated sitemaps but the news sitemap was not indexed by Google because Google told me my URLs did not have the 3 digits in the URL. So I thought I would try an alternate plugin, both yours and Yoast's but neither seems to generate a sitemap. Any ideas to troubleshoot? I have Quick Cache. site is aresnal insider dot com - minus the spaces.</p>
<p><a href="http://wordpress.org/extend/plugins/xml-sitemap-feed/" rel="nofollow">http://wordpress.org/extend/plugins/xml-sitemap-feed/</a>
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemap-is-html-warning-on-google-webmaster-tools#post-2503554</link>
			<pubDate>Thu, 15 Dec 2011 19:52:38 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2503554@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I've just added w3-total-cache as tag to this thread so it should appear in the W3 Total Cache forum as well... </p>
<p>Maybe someone there can shed light on this.
</p>]]></description>
					</item>
		<item>
			<title>gooma2 on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemap-is-html-warning-on-google-webmaster-tools#post-2503212</link>
			<pubDate>Thu, 15 Dec 2011 17:47:47 +0000</pubDate>
			<dc:creator>gooma2</dc:creator>
			<guid isPermaLink="false">2503212@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I'm hoping that someone on the W3 Total Cache forum has had this issue and knows what to put in to keep it from changing the sitemaps into HTML.</p>
<p>When you deactivate W3TC, sitemaps are perfect, it's just when its running that problems happen.</p>
<p>oh the fun:)
</p>]]></description>
					</item>
		<item>
			<title>gooma2 on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemap-is-html-warning-on-google-webmaster-tools#post-2501141</link>
			<pubDate>Wed, 14 Dec 2011 22:13:47 +0000</pubDate>
			<dc:creator>gooma2</dc:creator>
			<guid isPermaLink="false">2501141@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>it stays the same.  it's only when I turn off W3 TC that it gets wonky.  what's interesting it that Google still picks my news stories but the Webmaster Tools does the HTML error.  </p>
<p>Over on the Webmaster Tools, they just tell people to go to a site that makes your sitemaps for you, but c'mon, those of us with very busy sites with breaking news just don't want to create a new sitemap by hand everytime you post a story (most of us 6-10 per day).
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemap-is-html-warning-on-google-webmaster-tools#post-2501025</link>
			<pubDate>Wed, 14 Dec 2011 21:24:29 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2501025@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>True, W3TC can be a beast to control. </p>
<p>What happens if you switch off gzip/deflate compression for the sitemap but keep caching on? Or is that not possible?
</p>]]></description>
					</item>
		<item>
			<title>gooma2 on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemap-is-html-warning-on-google-webmaster-tools#post-2500752</link>
			<pubDate>Wed, 14 Dec 2011 19:49:30 +0000</pubDate>
			<dc:creator>gooma2</dc:creator>
			<guid isPermaLink="false">2500752@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>it's only doing it to the sitemap-news for some reason.</p>
<p>In W3 TC, I have sitemap.xml listed for caching, but I've noticed on a search in Google Webmaster Tools, a lot of people are having this issue with their sitemaps.  I thought it was an issue with the Wordpress SEO plugin, but when your came up like that too, I knew something was going on.</p>
<p>When I deactivate W3TC though, it's fine which led me to think that there might be something with that since that's gotta be one of the most temperental (but effective) plugins I've ever seen.
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemap-is-html-warning-on-google-webmaster-tools#post-2500727</link>
			<pubDate>Wed, 14 Dec 2011 19:43:31 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2500727@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hmmm... The content is definitely valid XML and response headers are correct even if they are modified by W3TC.</p>
<p>Is this happening only to the sitemap-newsw.xml or also the regular sitemap.xml ? And what does Google say when you add the non-pretty URLs:</p>
<p><a href="http://bestmoviesevernews.com/?feed=sitemap" rel="nofollow">http://bestmoviesevernews.com/?feed=sitemap</a><br />
<a href="http://bestmoviesevernews.com/?feed=sitemap-news" rel="nofollow">http://bestmoviesevernews.com/?feed=sitemap-news</a></p>
<p>And did you test with X3TC switched off?</p>
<p>Another thing you might try is removing the sitemap.xml.gz from your site root. The zipped content seems to be completely garbled... It might be that Google takes it to be the zipped version of the sitemap.xml feed.
</p>]]></description>
					</item>
		<item>
			<title>gooma2 on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Sitemap Is HTML Warning On Google Webmaster To"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-sitemap-is-html-warning-on-google-webmaster-tools#post-2500256</link>
			<pubDate>Wed, 14 Dec 2011 16:45:07 +0000</pubDate>
			<dc:creator>gooma2</dc:creator>
			<guid isPermaLink="false">2500256@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi,</p>
<p>I switched over to your sitemap after using Yoast's Wordpress SEO.  Google Webmaster Tools began putting the big red 'X' on those sitemaps with the warning:</p>
<p>Sitemap is HTML<br />
Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.</p>
<p>Now they've begun doing it for yours too.  I'm hoping that someone else has known how to resolve this one.  The sitemap comes up find when I bring it up</p>
<p>'http://bestmoviesevernews.com/sitemap-news.xml/'</p>
<p>and there's definitely no HTML coding i it, so I'm a little stumped.</p>
<p>I don't know if W3 Total Cache is creating a little issue with this or now.</p>
<p>Thanks,</p>
<p>Curt</p>
<p><a href="http://wordpress.org/extend/plugins/xml-sitemap-feed/" rel="nofollow">http://wordpress.org/extend/plugins/xml-sitemap-feed/</a>
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "Bing Webmaster Center + Sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/bing-webmaster-center-sitemapxml#post-2375147</link>
			<pubDate>Wed, 05 Oct 2011 08:39:02 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2375147@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Well, that's a relief ;) </p>
<p>I've noticed Bing can take a really long time to revisit a sitemap after re-submission. So thanks for your patience and reporting back on this.</p>
<p>Oh... could you mark this thread as resolved please?
</p>]]></description>
					</item>
		<item>
			<title>prestone on "Bing Webmaster Center + Sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/bing-webmaster-center-sitemapxml#post-2374960</link>
			<pubDate>Wed, 05 Oct 2011 04:49:34 +0000</pubDate>
			<dc:creator>prestone</dc:creator>
			<guid isPermaLink="false">2374960@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi RavanH,</p>
<p>I resubmitted the Sitemap.xml file to Bing and it came back with 'Success' and 'No problems or errors found.' </p>
<p>I guess it was just an intermittent issue with Bing rather than the plugin or file structure.</p>
<p>Thanks for your help guys.
</p>]]></description>
					</item>
		<item>
			<title>prestone on "Bing Webmaster Center + Sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/bing-webmaster-center-sitemapxml#post-2368795</link>
			<pubDate>Sat, 01 Oct 2011 00:36:49 +0000</pubDate>
			<dc:creator>prestone</dc:creator>
			<guid isPermaLink="false">2368795@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi RavanH,</p>
<p>I am still using the old plugin as I had submitted the Sitemap again after I created this thread just to see what would happen. It's showing up as 'Pending' in Bing now with the type being 'Unknown,' I'm not sure how long it will take their spider to crawl it, but I'll update this thread if the problem persists or I get more info on it.</p>
<p>Thanks for checking it out.
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "Bing Webmaster Center + Sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/bing-webmaster-center-sitemapxml#post-2368675</link>
			<pubDate>Fri, 30 Sep 2011 22:11:20 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2368675@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi Prestone, I cannot reproduce the error. Does Bing not provide any more info about it? The sitemap complies with xml sitemap rules. So it might be something else like during the last check your site was temporarily unavailable... Does the error message persist after re-submitting the sitemap?</p>
<p>One thing I would like to suggest is to try the <a href="http://downloads.wordpress.org/plugin/xml-sitemap-feed.zip">development version of XML Sitemap Feed</a>.
</p>]]></description>
					</item>
		<item>
			<title>prestone on "Bing Webmaster Center + Sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/bing-webmaster-center-sitemapxml#post-2366767</link>
			<pubDate>Thu, 29 Sep 2011 20:23:17 +0000</pubDate>
			<dc:creator>prestone</dc:creator>
			<guid isPermaLink="false">2366767@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Unfortunately, no. :(</p>
<p>The one I've been using is this one:</p>
<p><a href="http://wordpress.org/extend/plugins/xml-sitemap-feed/" rel="nofollow">http://wordpress.org/extend/plugins/xml-sitemap-feed/</a></p>
<p>I will give the one you posted a try. Hopefully that will fix everything.
</p>]]></description>
					</item>
		<item>
			<title>Samuel B on "Bing Webmaster Center + Sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/bing-webmaster-center-sitemapxml#post-2366745</link>
			<pubDate>Thu, 29 Sep 2011 20:12:10 +0000</pubDate>
			<dc:creator>Samuel B</dc:creator>
			<guid isPermaLink="false">2366745@http://wordpress.org/support/</guid>
			<description><![CDATA[<p><a href="http://wordpress.org/extend/plugins/google-sitemap-generator/" rel="nofollow">http://wordpress.org/extend/plugins/google-sitemap-generator/</a><br />
is this the one you use? It works well with me - Bing included</p>
<p>also, that's a normal looking site map these days
</p>]]></description>
					</item>
		<item>
			<title>prestone on "Bing Webmaster Center + Sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/bing-webmaster-center-sitemapxml#post-2366699</link>
			<pubDate>Thu, 29 Sep 2011 19:48:03 +0000</pubDate>
			<dc:creator>prestone</dc:creator>
			<guid isPermaLink="false">2366699@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi,</p>
<p>I'm not sure if this is the right section or not, but I'm having a slight issue (maybe not really an issue) with my sitemap with Wordpress.</p>
<p>I'm using the plugin called "XML Sitemap Feed" which says its compatible with Google, Bing, Yahoo!, etc. but when I submit my sitemap to Bing Webmaster Center it shows up as 'Errors have occurred' and when I click on the sitemap link is says Bing encountered 'Unknown error' while processing my sitemap.</p>
<p>I'm not sure if it's a problem with the way the plugin is structuring the file or with Bing itself, but it seems my Sitemap isn't working at the minute.</p>
<p>Here's a link to my sitemap.xml file:</p>
<p><a href="http://www.atopic-dermatitis-treatment.com/sitemap.xml" rel="nofollow">http://www.atopic-dermatitis-treatment.com/sitemap.xml</a></p>
<p>Is that how it's supposed to look?</p>
<p>Also if you have a suggestion for another Sitemap plugin that doesn't throw errors, I'd love to hear them
</p>]]></description>
					</item>
		<item>
			<title>Bernhard Riedl on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Trailing slash with permalink-structure /%post"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-trailing-slash-with-permalink-structure-postname-exclude-filter#post-2343948</link>
			<pubDate>Fri, 16 Sep 2011 16:10:26 +0000</pubDate>
			<dc:creator>Bernhard Riedl</dc:creator>
			<guid isPermaLink="false">2343948@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi RavanH,</p>
<p>That's a sound idea. - I will forward your plans to my SEO guys who will be happy about it. :)</p>
<p>Greetz,<br />
Berny
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Trailing slash with permalink-structure /%post"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-trailing-slash-with-permalink-structure-postname-exclude-filter#post-2341174</link>
			<pubDate>Thu, 15 Sep 2011 07:23:41 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2341174@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi Bernard, </p>
<p>Good to hear it works :)</p>
<p>With "exclude by post meta key/value" I mean that giving a post or page a custom meta key like "sitemap_exclude" and value "yes" (or 1) would make that post/page be excluded from the sitemap...</p>
<p>I do not have time the coming weeks to work on it but as soon as any of this is in the dev version, I'll let you know. Maybe send me a reminder if you don't hear from me for too long ;)
</p>]]></description>
					</item>
		<item>
			<title>Bernhard Riedl on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Trailing slash with permalink-structure /%post"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-trailing-slash-with-permalink-structure-postname-exclude-filter#post-2340788</link>
			<pubDate>Wed, 14 Sep 2011 23:48:00 +0000</pubDate>
			<dc:creator>Bernhard Riedl</dc:creator>
			<guid isPermaLink="false">2340788@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi RavanH,</p>
<blockquote><p>I've been using WP a long time and the permalink structure /%postname%/ has always caused problems. Not only for plugins but other (even WP internal) functionality too. In fact, I am surprised that up to this day, that permalink structure is still even allowed...</p></blockquote>
<p>I agree with you on that. - From a coder's point of view, I also prefer order and hierarchy in pages, posts, archives. Nevertheless, as you've mentioned there are reasons and for which our SEO department needs such a link-'structure'.</p>
<blockquote><p>So I would like to ask you to do a test upgrade to the development version to see if that trailing slash still occurs.</p></blockquote>
<p>I installed your dev-version on our staging-server after having a look onto your source code. -  Nice idea. - Your function also protects other 'generated files' from being trail-slashed and it works great over here. :)</p>
<blockquote><p>I'll take the exclude filter in to consideration too. It's not a bad idea and will likely make it into the development version soon :) Would you mind if it would be in the form of a post meta key/value to exclude a posts from the sitemap?</p></blockquote>
<p>Perfect and thanks. I'm not sure what you mean by post meta key/value? Or do you also plan to block pages by slug and not only by Ids?</p>
<p>Greetz,<br />
Berny
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Trailing slash with permalink-structure /%post"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-trailing-slash-with-permalink-structure-postname-exclude-filter#post-2332962</link>
			<pubDate>Sun, 11 Sep 2011 01:08:14 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2332962@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I've been using WP a long time and the permalink structure /%postname%/ has <em>always</em> caused problems. Not only for plugins but other (even WP internal) functionality too. In fact, I am surprised that up to this day, that permalink structure is still even allowed...</p>
<p>But ok, I get the point of wanting to use that permalink structure. I would to, if it was not so problematic. </p>
<p>In any case, I had seen that trailing slash in some other instances as well and had already implemented another workaround in the development version. So I would like to ask you to do a test upgrade to the development version to see if that trailing slash still occurs. If it does, I'll consider your approach as an alternative.</p>
<p>I'll take the exclude filter in to consideration too. It's not a bad idea and will likely make it into the development version soon :) Would you mind if it would be in the form of a post meta key/value to exclude a posts from the sitemap?
</p>]]></description>
					</item>
		<item>
			<title>Bernhard Riedl on "[Plugin: XML Sitemap &amp; Google News Sitemap Feeds] Trailing slash with permalink-structure /%post"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-google-news-sitemap-feeds-trailing-slash-with-permalink-structure-postname-exclude-filter#post-2332175</link>
			<pubDate>Sat, 10 Sep 2011 10:02:13 +0000</pubDate>
			<dc:creator>Bernhard Riedl</dc:creator>
			<guid isPermaLink="false">2332175@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Hi RavanH,</p>
<p>Thanks for the multi-site network functionality of your plugin. - It will help to realize the vision of a multi-lingual installation of our current information portal. :)</p>
<p>As WordPress can sometimes be very greedy on URL-handling, I ran into the following issue comprising the combination your sitemaps(-news).xml redirect and the /%postname%/ permalink structure. FYI: The sitemap serves just fine, but <a href="http://mydomain.com/sitemap.xml" rel="nofollow">http://mydomain.com/sitemap.xml</a> gets redirected to <a href="http://mydomain.com/sitemap.xml/" rel="nofollow">http://mydomain.com/sitemap.xml/</a> Please note the trailing slash which some spiders would probably mis-interpret.</p>
<p>After a bit of research I implemented the following code which seems to solve the problem:</p>
<p>In the constructor of <em>XMLSitemapFeed.class.php</em> I've added</p>
<pre><code>// REMOVE TRAILING SLASH
add_action(&#039;pre_get_posts&#039;, array(__CLASS__, &#039;remove_redirect_canonical&#039;) );</code></pre>
<p>And the following function tells WordPress to remove the built-in canonical redirect if we're handling a sitemap-feed.</p>
<pre><code>//remove trailing slash
function remove_redirect_canonical() {
	global $wp_query;

	if (is_feed() &#38;&#38; in_array($wp_query-&#62;get(&#039;feed&#039;), array(&#039;sitemap&#039;, &#039;sitemap-news&#039;)))
		remove_action(&#039;template_redirect&#039;, &#039;redirect_canonical&#039;);
}</code></pre>
<p>Hope this will help others, too.</p>
<p>A feature suggestion: What do you think about an exclude-filter for your query_posts calls? - That way we could easily leave out a list of posts/pages and Google wouldn't return an error in the Webmaster-Tools because a sitemap-item is blocked for example by robots.txt.</p>
<p>Greetz,<br />
Berny</p>
<p><a href="http://wordpress.org/extend/plugins/xml-sitemap-feed/" rel="nofollow">http://wordpress.org/extend/plugins/xml-sitemap-feed/</a>
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "[Plugin: XML Sitemap Feed] XML Parsing Error on sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-feed-xml-parsing-error-on-sitemapxml#post-2328911</link>
			<pubDate>Thu, 08 Sep 2011 13:43:24 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2328911@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>The <a href="http://wordpress.org/extend/plugins/xml-sitemap-feed/download/">development version</a> (see Other Versions, at the bottom) ups the memory to 256M dynamically (if your hosting allows it) so that might be enough for 7,000+ posts, maybe?
</p>]]></description>
					</item>
		<item>
			<title>databell96 on "[Plugin: XML Sitemap Feed] XML Parsing Error on sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-feed-xml-parsing-error-on-sitemapxml#post-2328862</link>
			<pubDate>Thu, 08 Sep 2011 13:12:03 +0000</pubDate>
			<dc:creator>databell96</dc:creator>
			<guid isPermaLink="false">2328862@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I believe I found a solution. Sitemap I'm attempting to produce has almost 7,000 post entries and growing. That a memory issue. So instead I found a plugin that breaks out the sitemap by month and it works.</p>
<p><a href="http://www.andreapernici.com/wordpress/google-monthly-xml-sitemap/"></a>
</p>]]></description>
					</item>
		<item>
			<title>databell96 on "[Plugin: XML Sitemap Feed] XML Parsing Error on sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-feed-xml-parsing-error-on-sitemapxml#post-2328309</link>
			<pubDate>Thu, 08 Sep 2011 04:56:04 +0000</pubDate>
			<dc:creator>databell96</dc:creator>
			<guid isPermaLink="false">2328309@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>Let me update this. The memory limit on the server was set at 48M. They upped it to 100M. Still didn't work. I turned off the Hyper Cache plugin. No change. No errors in the error log either. So what would be causing this?
</p>]]></description>
					</item>
		<item>
			<title>databell96 on "[Plugin: XML Sitemap Feed] XML Parsing Error on sitemap.xml"</title>
			<link>http://wordpress.org/support/topic/plugin-xml-sitemap-feed-xml-parsing-error-on-sitemapxml#post-2328200</link>
			<pubDate>Thu, 08 Sep 2011 03:19:27 +0000</pubDate>
			<dc:creator>databell96</dc:creator>
			<guid isPermaLink="false">2328200@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I just started using XML Sitemap Feed on a <a href="http://www.wirelessandmobilenews.com/">rather extensive news site</a> and the problem is that while the Google News sitemap is good, the regular sitemap is coming up with an issue:<br />
--<br />
XML Parsing Error: no element found<br />
Location: <a href="http://wirelessandmobilenews.com/sitemap.xml" rel="nofollow">http://wirelessandmobilenews.com/sitemap.xml</a><br />
Line Number 7, Column 1:<br />
--<br />
Since I can't actually download the sitemap.xml from my FTP, I have a dilemma in trying to figure out where this parsing error is coming from. Anyone have a clue?
</p>]]></description>
					</item>
		<item>
			<title>RavanH on "XML Parsing Error: no element found"</title>
			<link>http://wordpress.org/support/topic/xml-parsing-error-no-element-found-1#post-2310619</link>
			<pubDate>Mon, 29 Aug 2011 20:16:16 +0000</pubDate>
			<dc:creator>RavanH</dc:creator>
			<guid isPermaLink="false">2310619@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I have no idea why... Your site also does not generate a <a href="http://philliesnation.com/robots.txt" rel="nofollow">http://philliesnation.com/robots.txt</a> output which is strange. Did you try resaving your Permalink settings?</p>
<p>Do I detect BuddyPress running on that site? Maybe that's causing this... Or W3 Total Cache... Did you try switching that off temporarily?
</p>]]></description>
					</item>
		<item>
			<title>philliesnation on "XML Parsing Error: no element found"</title>
			<link>http://wordpress.org/support/topic/xml-parsing-error-no-element-found-1#post-2308226</link>
			<pubDate>Sun, 28 Aug 2011 05:18:59 +0000</pubDate>
			<dc:creator>philliesnation</dc:creator>
			<guid isPermaLink="false">2308226@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>I have installed the plugin, but I can not see a feed available at either of the addresses:</p>
<p><a href="http://philliesnation.com/?feed=sitemap" rel="nofollow">http://philliesnation.com/?feed=sitemap</a><br />
<a href="http://philliesnation.com/sitemap.xml" rel="nofollow">http://philliesnation.com/sitemap.xml</a></p>
<p>They both resolve to the following error:</p>
<p>XML Parsing Error: no element found<br />
Location: <a href="http://philliesnation.com/?feed=sitemap" rel="nofollow">http://philliesnation.com/?feed=sitemap</a><br />
Line Number 1, Column 1:</p>
<p>Does this mean my sitemap is not working?
</p>]]></description>
					</item>
		<item>
			<title>Donncha O Caoimh on "[Plugin: WP Super Cache] sitemap.xml and sitemap-news.xml not being cached"</title>
			<link>http://wordpress.org/support/topic/plugin-wp-super-cache-sitemapxml-and-sitemap-newsxml-not-being-cached#post-2239210</link>
			<pubDate>Fri, 22 Jul 2011 13:01:59 +0000</pubDate>
			<dc:creator>Donncha O Caoimh</dc:creator>
			<guid isPermaLink="false">2239210@http://wordpress.org/support/</guid>
			<description><![CDATA[<p>You can use the "Preload" functionality of the plugin to cache all those pages ahead of time.
</p>]]></description>
					</item>

	</channel>
</rss>

