My regex redirection is not working

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

    We apologize for the issue you are facing with your regex redirection. Let’s take a closer look at your regex patterns to see if we can identify the problem.

    Your Current Regex:

    Potential Issues:

    1. Leading Slash: The leading slash in your source regex might be causing issues if the URL does not include it when being processed. You might want to try removing it:

      • Updated Source: ^noticias/[0-9]+-actualidad/[0-9]+-(.+)/$
    2. Trailing Slash: Ensure that the URLs you are testing against actually have a trailing slash. If they do not, you should adjust your regex accordingly:

      • Updated Source (without trailing slash): ^noticias/[0-9]+-actualidad/[0-9]+-(.+)$
    3. Testing the Regex: You can test your regex using tools like regex101.com to ensure it matches the intended URLs correctly.

    Example of Updated Regex:

    Additional Notes:

    • Make sure that the Redirection module is activated in Rank Math.
    • After making changes, ensure to click on the "Add Redirection" button to save your new settings.

    If you continue to experience issues after trying these adjustments, 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!

    Vv
    Rank Math free

    Thank you! It is working!

    Hello,

    Glad to hear that it’s working now.

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

You must be logged in to reply to this ticket.