domain issues

Spartan

Well-known member
By chance I figured out the problem some people are having logging in. Many users have said they arrive to the site, log in, and immediately are logged out, and told to log in again.

Bottom line: If someone arrives to my site via "www.syracusefan.com", it appears their login doesn't stick because the login defaults to "syracusefan.com".

The simple solution is for people to only use "syracusefan.com", not "www.syracusefan.com". And knowing that a super majority of our visitors define the term "simple" ... this should solve the problem. But it won't ;-)

Is there an idiot proof solution you can think of?

EDIT: I just noticed that www.xenforo.com forwards automatically to xenforo.com. This seems to solve the problem here.

Can you point me in the right direction as to how to do this for my site?



Thank you
 
There are many threads explaining how to do this: http://xenforo.com/community/search/1759280/?q=www&t=post&o=date&g=1&c[title_only]=1

Not all servers are the same though, so you may need to try a few variations before you find one which works.

Try this thread: http://xenforo.com/community/threads/my-htaccess-file-to-redirect-non-www-to-www.8232/

Also in the FAQ:

How can I redirect all traffic to the www or non-www version of my site?
If you are on an Apache server, this can be achieved by editing the .htaccess file. Refer to the discussion thread in the forum for more information.
Note that any custom rewrite rules must come before the XenForo rewrite rules.

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456
 
Just a cautionary note: Although cPanel does wonders with redirects, sometimes it flakes out (doesn't work) and you have to delete it and redo it. I've run into that issue more than once.
 
Top Bottom