Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    168
    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:
    51
    i thing it would be possible by.
    1. htaccess
    2. domain A pointing

    is it what are you lookin for ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    156
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    168
    Thanks guys, just what I was looking for.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice