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

remove www. from url's ?

ExpertPixels.com

Well-known member
#1
Hey all,

Sorry for the newb question.. just struggling to force the xf install to use http:// only and not http://www

Ive not need to use this for some time and and getting errors when adding this to the .htaccess file:

Code:
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Thanks in Advanced for any assistance on this matter.

Regards, Darren