Viewing 7 replies - 16 through 22 (of 22 total)
  • Hi All –

    Just reading your suggestions as I, too, received this for one of my sites.

    I unchecked the box. Do I need to resubmit the sitemaps on google?

    Thank you!

    No resubmit required. It may take a few days for Google to update their message, though. But it will just happen.

    Alex

    Thank you!

    Try this a temporary fix,

    Just comment php code in this file google-sitemap-generator/sitemap-core.php

    Find this code line 1574

    		//Do not index the actual XML pages, only process them.
    		//This avoids that the XML sitemaps show up in the search results.
    		if(!headers_sent()) header('X-Robots-Tag: noindex', true, 200);

    Just comment out the last line by adding // before.

    And the other file xml code in this file sitemap.xsl

    Find this code

    Line 12:
    <meta name="robots" content="noindex,follow" />

    Comment it out like this

    <!--<meta name="robots" content="noindex,follow" />-->

    I’m waiting google response as they are validating my fix for the current issue and will update my post soon ??

    Thanks.

    • This reply was modified 6 years, 11 months ago by egycode.
    • This reply was modified 6 years, 11 months ago by egycode.

    Changing the plugin should only be done by the developer.

    @cdgweb It can help speed up a developer’s work if you change the code to test on your end and offer it to them in case it works. However, in this case, I don’t think it’s the correct behavior. They should instead look into not adding that page to the sitemap.xml (as others have done earlier.) I don’t personally see any value in having such a page in your sitemap.xml anyway. It’s not going to help your SEO.

    I noticed

    i was using “Google Sitemap Generator Plugin by Arne Brachhold”. It was not making all my posts site maps so i removed it and started using the yoast built in maps building tool. But now i even don’t have the plugin installed it still has “no-indexing” issues. Well, there should not be any problem because sitemaps are already indexed by google from yoast maps. But I am really concerned how do i completely turn off this feature that Google Sitemap Generator Plugin by Arne Brachhold plugin created.

    Solution:

    Then i went to my cPanel and under file manager, of the concerned website:
    Go to the website location:
    Go to WP Content
    Go to Plugins
    Select Google Site Maps
    and Delete it. Let it go to the trash.
    Now i don’t have any problem because not sitemap.html redirects me to yoast maps.
    Cheers

    • This reply was modified 6 years, 10 months ago by veerubhinder.
Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Google WebMaster tools flag an error of ‘noindex” for the html map’ is closed to new replies.