WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Yoast WordPress Sitemap broken by Stats (4 posts)

  1. Sollie
    Member
    Posted 1 year ago #

    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/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    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/

  3. Sollie
    Member
    Posted 1 year ago #

    Thanks, I have submitted and support request.

  4. Sollie
    Member
    Posted 1 year ago #

    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%.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic