WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Yoast WordPress Sitemap broken by Stats

[Resolved] Yoast WordPress Sitemap broken by Stats

  • Hi,

    I get an error with my sitemap when I submit it in Google Webmaster Tools; “Unsupported file format”.

    When I remove the following code from my sitemap there are no errors in Webmaster Tools.

    <div style="display:none">
    	</div>
    
    	<script src="http://stats.wordpress.com/e-0000.js" type="text/javascript"></script>
    	<script type="text/javascript">
    	st_go({v:'ext',j:'1:2.3.5',blog:'8909876',post:'0',tz:'0'});
    	var load_cmc = function(){linktracker_init(8765646,0,2);};
    	if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);
    	else load_cmc();
    </script>

    Is there anyway I can prevent Jetpack from inserting this bit of code into my sitemap?

    Thanks.

    http://wordpress.org/plugins/jetpack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    Do you use the sitemap included in the WordPress SEO plugin? I tried to reproduce the problem on a test blog of mine, and the stats tracking code wasn’t loaded on the sitemap page.

    Could you post your site URL here, so I can have a look?

    If you want it to remain private, you can also contact us via this contact form:
    http://jetpack.me/contact-support/

    Thanks, I have submitted and support request.

    Thanks for the information you sent. I tested all my plugins and it turns out that nextgen gallery (Version 2.0.11) is breaking WordPress SEO’s sitemap. Soon as I deactivate nextgen gallery the sitemap is 100%.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Yoast WordPress Sitemap broken by Stats’ is closed to new replies.