I am trying to redirect url. When someone type xyz.example.com then its redirected to example.com/zyz.
I have No sub-domain.
I am trying when someone enters exact string xyz.example.com then redirect to example.com/xyz.
I am working on multi networking site.
xyz.example.com
This is not existing Domain .
example.com/xyz
This is multi-networking site url no sub-domain existing for this