Sitemap not generating 404 error

#686682
  • Resolved Anonymous
    Rank Math free

    Hi RankMath support team,
    I’m getting a 404 error when accessing the sitemap url.
    I’ve followed your guides about .htaccess settings, cache flush (plugins, cloudflare, php), regenerate sitemap, etc. Can’t find a solution yet.
    Please your help, thanks in advance.

    This is the error (it’s weird it says nginx when I’m using apache):
    This page contains the following errors:
    error on line 6 at column 8: Opening and ending tag mismatch: hr line 5 and body
    Below is a rendering of the page up to the first error.
    404 Not Found 404 Not Found nginx/1.18.0 (Ubuntu)

Viewing 1 replies (of 1 total)
  • Hello,

    We’re sorry to hear that you’re experiencing issues with your sitemap. It seems like you’ve already tried several troubleshooting steps, including checking the .htaccess settings and flushing the cache.

    The error message you’ve shared seems to indicate a mismatch between the opening and ending tags, which is causing the 404 error. This error message is typically associated with an issue in the XML file itself.

    To address this issue, we recommend checking the actual sitemap file to ensure that there are no discrepancies in the XML structure. Additionally, you may want to verify that there are no conflicting plugins or caching mechanisms that could be interfering with the sitemap generation.

    If you’re using an Apache server, it’s important to ensure that the rewrite rules have been correctly added to your .htaccess file. You can refer to our guide on how to fix sitemap issues in Rank Math for detailed instructions on adding rewrite rules for Apache servers.

    If you’re still encountering issues after performing these checks, please feel free to assign this ticket to a human agent for further assistance.

    We appreciate your patience and understanding as we work to resolve this issue for you.

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.