Redirections for URLs with “404 Errors”

  • Resolved Denis

    Dear Support,
    What is the best Redirect for “404 Error” URLs?
    301, 302 or 307 Redirect?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    Thank you for contacting Rank Math today.

    Usually the best would be the 301 redirect, since you want to indicate Google the web page was moved to the redirected URL permanently.

    Looking forward to helping you. Thank you.


    Hello Alberto! Thank you for the answer!

    I have found a lot of 404-Pages with weird URLs.
    For example it is:

    But our Main Landing page is

    How to install right “301 Redirect” rule in Rank Math SEO plugin for ALL these kind of weird URLs???


    If you have a list with all those weird URLs you can upload them to the Rank Math plugin and redirect them.

    If you don’t have a list with all those URLs, you should modify the .htaccess file or add a plugin that force to redirect every 404 URL to wherever you want.

    Thank you.

    Thank you for the answer.
    Will work in Rank Math SEO 301 Redirect rule:
    From URLs /*
    to the main landing page URL /


    Hi Denis,

    That will redirect ALL your pages/URLs back to the homepage. Not really ideal if you have other content on your website. If you only want people to see your homepage then you can use that redirect.

    Instead, you can create a list of the URLs you want to redirect and add them as a new redirect like this:

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

    Hello Todd, Thank you for your answer!

    I have a very big list for weird URLs with response 404-Error after hacking attack.

    Can I use 404-URLs list like this

    for 410-Redirect in Rank Math SEO ?


    Yes, you can. You just need to follow the video Todd published with his last answer and everything will be fine.

    Thank you.

    Now I see in
    98 elements (URLs)
    When I had marked its all in “rank-math-404-monitor” and chosen its to make 410-Redirect rule, then your Plugin’s Redirect Tool did not copy and install all URLs from 404-monitor-list (just a some of its).

    Hi Denis,

    We do not have access to that URL so we cannot check.

    If it isn’t working for you for some reason – you can try doing the manual copy/page. Shouldn’t take more than a few minutes.

    If you can share your WP logins, we can take a closer look for you.

    I have about 8000 weird URLs with 404-Error. I have to redirect all of its.
    When I try to paste its in your Redirect service (as shown in your GIF-example) – plugin did not paste its all, just part of my list.

    Hi Denis,

    You can create another redirect for the remaining URLs that aren’t getting pasted.

    Hope that helps.


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

The ticket ‘Redirections for URLs with “404 Errors”’ is closed to new replies.