I have a wordpress install in a subdomain of a main domain ...
a.com it's main domain and b.com it's subdomain of a.com, where the wordpress is installed.
what I would like to do is to avoid that b.com to be accessed through a.com, ex: b.a.com or a.com/b
so i set the following rules in cpanel redirect
b.a.com -> redirect into a.com homepage working
a.com/b -> redirect into a.com homepage ... not working and I can't figure why .. the subfolder can't be redirected ...