vendredi 3 août 2018

Redirect a URL to new URL and original subdomain to path (htaccess)

I have the following URL,

https://subdomain.domain.com/app

I want the htaccess to redirect it to,

https://abc.domain.com/subdomain/

The "abc" can be a fixed string but I want the subdomain to be dynamic as I will be doing this for lots of environments.

Kindly advise.

Aucun commentaire:

Enregistrer un commentaire