getting sitemap error

#88671
  • Resolved Tejpal Singh
    Rank Math free

    Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead. i am getting this error from few days please help me resolve this.
    my website url is -https://indiangovtyojana.com/ please help me out asap.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    That issue is caused due to a cache plugin caching your sitemaps. Which plugin are you using?

    Usually, you should exclude these pages and then resave your permalinks:

    /(.*)sitemap(.*).xml
    /(.*)sitemap.xsl

    Looking forward to helping you. Thank you.

    ​​​​​​​

    i am using autoptimize cache plugin please guide me how to do it? please reply asap.

    Alberto
    Rank Math business

    Hello,

    That plugin has not an easy way to exclude files from the cache so you should use the following code in your functions.php file:

    // Disable autoptimize on pages with the word "test" in the URL
    add_filter('autoptimize_filter_noptimize','my_ao_noptimize',10,0);
    function my_ao_noptimize() {
    if (strpos($_SERVER['REQUEST_URI'],'sitemap_index.xml')!==false||strpos($_SERVER['REQUEST_URI'],'main-sitemap.xsl')!==false/* Add here any other sitemap to exclude*/) {
    return true;
    } else {
    return false;
    }
    }

    Looking forward to help you.

    i added code to the file and please tell me how i can make sitemap of post tag as i have tried many times but i am not getting how to do it please guide me.

    Hello,

    Please confirm you have tags set to index in Rank math > Titles & Meta > Tags and also on individual tags under the advanced tab of Rank math meta box. If your tags are not assigned to any posts, you should ensure to enable the option to include empty terms in Rank math > Sitemap settings > Tags

    If the issue still persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    i have done and my tag sitemap is showing and indexed but after 2 days i got a message from search console that some of my urls are having error what should i do?
    i got mesasge as-
    Search Console has identified that your site is affected by 1 Coverage issues:

    Top Errors

    Errors can prevent your page or feature from appearing in Search results. The following errors were found on your site:

    Submitted URL marked ‘noindex’
    guys help me with this what can i do now?

    Alberto
    Rank Math business

    Hello,

    Could you share the login credentials my colleague suggested so I can log in and check what is happening?

    Also, could you share the URL where you are getting that no-index issue?

    Looking forward to help you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Alberto
    Rank Math business

    Hello,

    I have checked but you have your post tag sitemap already in: https://indi********na.com/post_tag-sitemap.xml

    Could you check it?

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘getting sitemap error’ is closed to new replies.