- Joined
- Jan 1, 2001
- Messages
- 60,189
Think twice before running your site. Do you want to have the www. part included, or not?
Force remove www. from url:
Force www. to the url:
Add either of the above code to your .htaccess file - inside the xenforo block, just after:
Force remove www. from url:
Code:
RewriteCond %{HTTP_HOST} ^www\.xenfans\.com
RewriteRule (.*) http://xenfans.com/$1 [R=301,L]
Force www. to the url:
Code:
RewriteCond %{HTTP_HOST} ^xenfans\.com
RewriteRule (.*) http://www.xenfans.com/$1 [R=301,L]
Add either of the above code to your .htaccess file - inside the xenforo block, just after:
Code:
RewriteEngine On