Redirect other lenguage to sub directory

  • Hi,

    I have made a separate site for other language and like to redirect old links to the new subdirectory

    Old is https://****.com/en/****

    and like to redirect all contain /en/ to https://en.******.com

    I thought would work with contain but it does not.
    Tried to use [en/(.*)] but does not work.

    What is correct regex to do this ?

    Cheers

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I am afraid that Rank Math is only able to redirect links on the same website and not from a different domain.

    I can suggest that you get in touch with your host so that they can advise on how to add .htaccess redirections.

    Looking forward to helping you. 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 ‘Redirect other lenguage to sub directory’ is closed to new replies.