http status showing 3-301, 404 codes and 1-404 code

#449840
  • Resolved AG
    Rank Math free

    I am not able to submit sitemap and while troubleshooting I found 3 of http status showing 301, 404 code and 1 showing 404 only.
    There is no 200-status code.

Viewing 1 replies (of 1 total)
  • Hello,

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

    It seems like you’ve set redirections for HTTP and WWW both to HTTPS and non-WWW. So whenever someone will try to visit with HTTP and WWW in your URL, both will redirect them to HTTPS and non-WWW version of your URL.

    1. http://www.innmediausa.com/sitemap_index.xml

    This URL returning two 301 because, first it’s redirecting you from HTTP to HTTPS, and then it’s redirecting again to non-WWW version of your URL.

    2. https://www.innmediausa.com/sitemap_index.xml

    This one already have HTTPS in it, so it’s only redirecting you to non-WWW version of your URL. Which is why it’s showing 301 redirection for once.

    3. http://innmediausa.com/sitemap_index.xml

    This one redirecting you from HTTP to HTTPS, This is why it’s showing 301 for once.

    4. https://innmediausa.com/sitemap_index.xml

    Here comes your actual URL (with HTTPS and non-WWW), but it’s returning 404 error as no URL like this exists on your site.

    As your sitemap returning 404 error page, so all the URL above returning 404 at the end of redirection.

    While investigating your issue further, I found that your sitemaps is loading properly on the URL: https://innmediausa.com/?sitemap=1

    sitemap

    In that case, please try following URL and apply to your site to resolve this issue:
    https://rankmath.com/kb/fix-sitemap-issues/#apache-error

    Note: It is always a good idea to take a backup of your site before you edit your .htaccess file.

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

    Thank you.
    ​​​​​​​

    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 1 replies (of 1 total)

The ticket ‘http status showing 3-301, 404 codes and 1-404 code’ is closed to new replies.