I am trying to redirect something like this
sub-domain.domain.com/directory to domain.com/directory
I tried Redirect 301 / domain.com/directory [htaccess file placed in sub-domain] it works fine for the sub-domain but won't work for the directory within the sub-domain.
Can somebody help me with what should be the content of .htaccess file ?
Thanks.