Can’t get Regex for product categories to work

#889801
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with the regex redirect. It seems like the regex pattern you are using might not be set up correctly for your intended redirection.

    To redirect all URLs that start with /product-category/ to https://example.com/install-plugin/ you can use the following regex:

    Regex Source URL:

    ^product-category/(.*)

    Destination URL:

    https://example.com/install-plugin/`

    This setup will match any URL that starts with /product-category/ and redirect it to the specified destination. Make sure to test this in your Rank Math settings and ensure that there are no conflicting rules that might be affecting the redirect.

    If you continue to experience issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!

    Hello,

    Thank you for contacting Rank Math support.

    It looks like you’ve marked this ticket as resolved. If the issue have not been resolved, then please confirm if you’re using the Rank Math base striping options – as that would interfere with your category-base redirection.

    Thank you for your patience and cooperation. We are looking forward to hearing back from you.

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

You must be logged in to reply to this ticket.