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.

    ​​​​​​​

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.