Redirection for non-existing pages

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

    Thank you for contacting Rank Math today.

    I am not sure if the regex would work in your case, it might affect some of your existing URLs. For example if we setup a regex to redirect any: https://example.com/shop/*, this will also direct and existing URL: https://example.com/shop/RedHats/red/

    What I can recommend in your case is using bulk redirect from the 404 monitor. You can select all the related URLs in the 404 monitor and redirect them to one specified URL.

    As for the the homepage appearing on your 404:
    –if you check all URLs n=in the 404 monitor, they are all relative(that is: the domain part of the URL is not added to the URL)
    That said, the 404 monitor means someone or a bot is trying to access your site with: https://example.com/https://example.com/ and you can therefore ignore this safely.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Thanks for answering. I appreciate the help. Take care.

    Hello,

    Glad to hear it helped you. Then, do you have any other questions? Or do you want us to close this thread? In any case, we will be here if you have any other questions or issues in the future.

    Looking forward to help you.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this ticket.