regex does not work

#189756
  • Resolved sarah beni
    Rank Math free

    Hi ,

    Please your plugin functionnality regex does not work well.

    I followed all your instructions but still does not work. Why ?

    ^telechargements/(.*)
    TO
    ^wp-content/uploads/(.*)

    Still get 404 error .
    Thank you

Viewing 1 replies (of 1 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thanks for contacting us and we regret the inconvenience caused.

    You’ve not created the RegEx expression correctly.

    If you want to redirect all the links having /telechargements/ to /wp-content/uploads/, then please try creating the redirection with the below expression:

    Source: /telechargements/(.*)
    Type: Regex
    Destination: /wp-content/uploads/$1

    Please let us know how that 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 ‘regex does not work’ is closed to new replies.