I can’t see sitemap

#278072
  • When I click on the sitemap url from Rank Math plugin, I see a 404 error. I tried changing the permalinks and adding the exclutions on the cache plugin but still not working. What can I do?

Viewing 15 replies - 16 through 30 (of 30 total)
  • Hello,

    I’m sorry but the FTP login still wouldn’t work on our end. Please see the screenshot in the Sensitive Data section.

    Also, you forgot to add your password for your FTP, is the password for the FTP same as your WP login?

    Looking forward to helping you.

    Hello,

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

    Thank you.

    Try with this new FTP login details, please.

    I have cloudflare, does it affect?

    Hello,

    Rank Math creates a virtual Sitemap dynamically when you enable that module. We rely on redirects enabled by your server software to accomplish that.

    We have found your sitemap here yourdomain.com?sitemap=1. It loads your sitemap, which means you need to add the rewrite rules.

    Check your .htaccess and add the following code:

    # START of Rank Math Sitemap Rewrite Rules
    RewriteEngine On
    RewriteBase /
    RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
    RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
    RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
    # END of Rank Math Sitemap Rewrite Rules

    Cloudflare does not cache sitemaps by default, so you won’t have to do anything. However, if you’ve made some changes in the settings that are causing sitemaps to be cached, you can set a page rule inside your Cloudflare account and add the following code snippet there.

    sitemap?\.xml?
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\xml|xsl)?
    ([az0-9_\-]*?)sitemap([a-z0-9_\-]*)?.xml

    Hope this helps you. Looking forward to helping you.

    Thank you.

    Still not working =( I think I need to use another plugin to create the sitemap

    The sitemap is created but it is not in the url that Rank Math says, is it a problem for SEO?

    Even if I install Yoast SEO, the sitemap is not generated. Can you help me?

    Hello,

    It looks like there is a sitemap file in the root directory of your website, which is why the other SEO plugin is also able to generate the sitemap.

    I wanted to check this but you seem to have removed the FTP and WordPress logins from the sensitive data section.

    Please add the WordPress login and the FTP logins in the sensitive data section in the following format:

    Host:
    Username:
    Password:
    Port:
    

    Looking forward to helping you.

    Ok, I uploaded them

    Hello,

    Your website backend is currently throwing a fatal error and can’t be accessed, but the URL sitemap.xml is still accessible but include some weird pages that don’t seem to belong to your website.

    We recommend that you do a full security checkup on your website after bringing the website up again.

    We would also like to note that we found the index.php file has been tampered with in your installation and we fixed that file by installing a default one but there might be other files that are considered a virus and we recommend the full site checkup as mentioned before.

    Don’t hesitate to get in touch if you have any other questions.

    Hello,

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

    Thank you.

    Hello,

    It seems that you edited the sensitive data section a new message appeared. If you require any further assistance from our end don’t hesitate to get in touch.

    We are here to help!

    Thank you. I fix it erasing my site.

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

Viewing 15 replies - 16 through 30 (of 30 total)

The ticket ‘I can’t see sitemap’ is closed to new replies.