Addon, Sub Domains and 301 redirect...


Active Member
Aug 2, 2005
I have 3 domain names... (main domain)
  • (sub)
  • (sub) (addon) (addon)

On I have a subdomain ''

This is located 'public_html/sub'

The 2 addon domains are both set to use the same path 'public_html/sub'

So regardless of which way you access the site, you hit the same files etc...

Ideally I only want users to visit via so would like to configure some for of permanent redirect.. I've been advised to do this using .htaccess and a 301 redirect.

To test this I would like to try it with and have all it's traffic redirected to

How do I do this as a test ??
How do I do it on the two domain as a permanent redirect to the .com
Will this effect google ranks ?? as has a good placement.

Hope this makes some for of sense..

Thanks :)