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.

force site to open with www.

Discussion in 'General Discussion' started by iLinux85, Oct 23, 2012.

  1. iLinux85

    iLinux85 Active Member

    Joined:
    Mar 28, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
  2. anupkumar

    anupkumar Member

    Joined:
    May 20, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Set CNAME to always access your site access with www. Also, if you are using any third party application like wordpress then there is a setting in admin panel of WP.
     
  3. GIANT_CRAB

    GIANT_CRAB Well-Known Member

    Joined:
    Mar 23, 2012
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I would recommend redirection.

    Code:
    RewriteCond %{HTTP_HOST} ^example.com$
    RewriteRule ^.?$ "http://www.example.com/$1" [R=301,L]
    
     
  4. shopmobi

    shopmobi Registered

    Joined:
    Oct 26, 2012
    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    cPanel Access Level:
    Website Owner
    should we redirect site's address without "www"?
     
Loading...

Share This Page