how can i forward domains to my main domain

Discussion in 'HTML & Website Design' started by rhino56, Apr 12, 2007.

  1. #1
    i have a few names that all work on my site somewhat. the main name is kinda long but its what i been using forever. the other 2 work on vbulletin but you cant log in with them. so i would prefer they just get forwarded to the main one.
    i have cpanel and running the latest vb
     
    rhino56, Apr 12, 2007 IP
  2. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #2
    Most registrars provide some type/types of forwarding. I ran into what I believe to be a duplicate content problem when one of the domains I had pointed at my main one. There was no problem until someone linked to site under the forwarded domain.
     
    Smyrl, Apr 12, 2007 IP
  3. rhino56

    rhino56 Peon

    Messages:
    414
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thats my problem, i need all my traffic on one domain instead of spread out. i cant see any setting in the domains part of the host so ill contact them
     
    rhino56, Apr 13, 2007 IP
  4. bacanze

    bacanze Peon

    Messages:
    2,419
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well, assuming I have read your post right, why dont you use meta refresh or .htaccess to forward all users to one domain?
     
    bacanze, Apr 13, 2007 IP
  5. rhino56

    rhino56 Peon

    Messages:
    414
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    because i dont know how is one of my main problems lol
     
    rhino56, Apr 13, 2007 IP
  6. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #6
    Use this to redirect your domain:
    <meta
    HTTP-EQUIV="Refresh" content="0; URL=your_main_domain.com" />
    Code (markup):
    or add the following lines to your .HTACCESS file
    Redirect /index.htm http://maindomain.com/
    Redirect /index.html http://maindomain.com/
    Redirect /index.php http://maindomain.com/
    Code (markup):
     
    Clive, Apr 13, 2007 IP
  7. rhino56

    rhino56 Peon

    Messages:
    414
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #7

    so add the <meta code to the htaccess?
     
    rhino56, Apr 13, 2007 IP
  8. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #8
    Obviously Not. If you choose to go with the <meta ... /> tag, then add it to the index.html file placed inside the root directory of your domain to be redirected.
     
    Clive, Apr 13, 2007 IP
  9. Josh-H

    Josh-H Active Member

    Messages:
    406
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #9
    Great advice Clive. Thats the way I would of done it if, as he can't, forward the domain from his domain panel.
     
    Josh-H, Apr 13, 2007 IP
  10. OoteR

    OoteR Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I would recommend using just the redirect from .htaccess if you can. Some browsers will stop the user when an unexpected (meta) forward is given. The .htaccess way they don't even know its really happening.
     
    OoteR, Apr 13, 2007 IP