Redirection for non-existing pages

#84558
Viewing 5 replies - 1 through 5 (of 5 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.

    Alberto
    Rank Math business

    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.

    Thanks again Sure it is fine to close this thread.

    Alberto
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.