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.

Pointing http://domain.ca to http://www.domain.ca

Discussion in 'General Discussion' started by nootkan, Nov 24, 2009.

  1. nootkan

    nootkan Well-Known Member

    Joined:
    Oct 25, 2006
    Messages:
    129
    Likes Received:
    2
    Trophy Points:
    18
    I've looked through a few posts here in this forum but cannot seem to find what I'm looking for. I need to have the previous url: http://domain.ca point to http://www.domain.ca so I don't have to track down all the reciprocal links. Presently it only works with www.
    Paul
     
    #1 nootkan, Nov 24, 2009
    Last edited by a moderator: Nov 24, 2009
  2. carsu

    carsu Registered

    Joined:
    Nov 24, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    i thing it would be possible by.
    1. htaccess
    2. domain A pointing

    is it what are you lookin for ?
     
    #2 carsu, Nov 24, 2009
    Last edited by a moderator: Nov 24, 2009
  3. mickbeng

    mickbeng Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Penang, Malaysia
    You might try this from your .htaccess file.

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^domain.ca
    RewriteRule (.*) http://www.domain.ca/$1 [R=301,L]
    With the above code, it will redirect all domain.ca domain to http://www.domain.ca.
     
    #3 mickbeng, Nov 24, 2009
    Last edited by a moderator: Nov 24, 2009
  4. nootkan

    nootkan Well-Known Member

    Joined:
    Oct 25, 2006
    Messages:
    129
    Likes Received:
    2
    Trophy Points:
    18
    Thanks guys, just what I was looking for.
     
Loading...

Share This Page