force_non-www
This is an old revision of the document!
Forcing non-www
Create and enable .htaccess
Once you have done this you will need to add the following code:
RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.example\.com [NC] RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
force_non-www.1428005218.txt.gz · Last modified: 2024/05/23 07:26 (external edit)