I got a subdomain http://sub.domain.com
I want all links from this subdomain be redirected to a target domain with www, nonwww and also redirect the path.
REDIRECT:
www = http://www.sub.domain.com
nonWww = http://sub.domain.com
path = http://sub.domain.com/something/anything
to TARGET:
http://www.domain.com/sub/zero
What is the .htaccess for this?
What would be the change if i don't want to transport the path to the new target, so have a static target?