1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Community doesn't load up without www.

Discussion in 'Troubleshooting and Problems' started by CommanderMadi, Jan 30, 2015.

  1. CommanderMadi

    CommanderMadi Member

    Howdy,

    I am currently having a problem with my community access. I can only visit it using the full URL format www.mydomain.com but when using mydomain.com it shows the default registrar page.

    I know it got something to do with the .htaccess file, please guide me what to do.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The FAQ in my signature explains how to force all traffic to a single domain (with or without www).
     
  3. CommanderMadi

    CommanderMadi Member

    Does the effect shows directly or does it take time?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It should be immediate.

    If the page isn't loading at all then that could indicate a server configuration issue, which you may need to contact your host about.
     
  5. CommanderMadi

    CommanderMadi Member

    I used this one >>
    RewriteCond %{HTTP_HOST} ^example.com$ [NC]
    RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

    Should I use the other variations and see if they work?
     

Share This Page