MyBB Community Forums

Full Version: fix www. and just plain address problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It is the craziest thing. If you just put the address as:
http://webaddress.org
then the post bit editor is not functional ... if you place a www. in front of the address then the post bit editor works just fine. Is there something I can do to correct it so it will work with both?
You could just use HTACCESS with this code to force everyone to use WWW:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Thank you for this great easy solution, weBex
i needed that thanks +1 Smile