Redirections using /path/ don’t work

#657443
  • Resolved fusioneffect
    Rank Math free

    Hi,

    I have tried multiple variations of redirects and can’t get the plugin to redirect everything after the path /products/

    So far tried:

    /products/(.*) with regex and / as the destination
    /products/(.*) same with full https domain as destination
    /products/ as contains and both for destination

    My question is therefore what is the correct settings to get everything after this path /products/something-here to redirect back to the root?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    Could you please confirm if your product URL is something like this https://mydomain.com/products/test-product/ and redirect it to https://mydomain.com/?

    If that’s the case, then you may need to create a regex redirect with this structure:

    Source: products/(.*)
    Type: Regex
    Destination: https://mydomain.com/

    Meanwhile, please also verify if the redirection tables are created by heading over to WordPress Dashboard > Rank Math > Status & Tools > System Status > Rank Math:

    Redirection tables

    Let us know how this goes.

    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 ‘Redirections using /path/ don’t work’ is closed to new replies.