User Tools

Site Tools


force_non-www

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.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1