The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon, Sub Domains and 301 redirect...

Discussion in 'General Discussion' started by madtom, Mar 12, 2007.

  1. madtom

    madtom Active Member

    Joined:
    Aug 2, 2005
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Hi
    I have 3 domain names...

    domain.co.uk (main domain)
    • sub.domain.co.uk (sub)
    • test.domain.co.uk (sub)
    domain2.co.uk (addon)
    domain.com (addon)

    On domain.co.uk I have a subdomain 'sub.domain.co.uk'

    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 www.domain.com 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 domain2.co.uk and have all it's traffic redirected to www.domain.com

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

    Hope this makes some for of sense..

    Thanks :)
     
  2. madtom

    madtom Active Member

    Joined:
    Aug 2, 2005
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Any one help ??
     
Loading...

Share This Page