Sitemap issue, Site not indexing

#808645
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Your sitemap is redirecting to your homepage.

    In this case, please follow these steps to flush your sitemap cache:

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    3. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:

    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how this goes.

    Hello,

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

    We checked your website and it looks like the Rank Math plugin is not installed on your site. In this case, could you please try to install it again so that we can check the sitemap issue further for you?

    Regarding the indexing issue, please check your Google Search Console coverage section to determine any issues reported on your site: https://support.artlogic.net/hc/en-gb/articles/360016851260-Google-Search-Console-errors-and-coverage-issues

    You can share the error message or take a screenshot using this tool and add the link here so we can check as well.

    Looking forward to helping you.

    Thank you.

    Lada
    Rank Math free

    Can i know why my sitemap is showing but like this https://preciouspaws.site/sitemap_index.xml

    Hello,

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well:
    https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Lada
    Rank Math free

    Hello,

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

    Thank you.

    Lada
    Rank Math free

    Have you check ?

    Hello,

    We deeply apologize for the unexpected delay in response. We checked your website and found a blank line and a script tag in your index.php file and that’s why the sitemap is not working properly.

    We removed the blank line and also temporarily removed the script tag from this file and you can see the sitemap is working properly without any issues:

    In order to fix this issue, you can remove this script tag from your index.php file or make sure this tag isn’t included on the sitemap.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Lada
    Rank Math free

    Hello did you check my site i already send the logging details

    Hello,

    It seems like you missed my colleague’s reply here.

    We did not remove the script in case it was added intentionally by you.

    I ‘commented out’ the script and now your sitemap is currently working correctly:
    https://imgur.com/XyKtfOm

    Please locate the index.php file in the root directory of your WordPress site if you want to make further modifications.

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    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 ‘Sitemap issue, Site not indexing’ is closed to new replies.