Hi, I hope someone can help me with this. I recently bought a new domain, www.thisnewone.com which I have setup as an addon domain for my subdomain directory, located at directory.thisoldone.com. Problem is, some people are still visiting directory.thisoldone.com so how do I write a mod_rewrite that will take people from directory.thisoldone.com to www.thisnewone.com? Also, will this enable the old domain to transfer its PR to the new one? Thanks in advance for the reply.
What you need is a mod_rewrite 301 (Moved Permanently) redirect. The FAQ on these forums has a howto.