24 hr Australian Support

How to Redirect to the WWW or non-WWW of Your Domain

You will need to open the htaccess file to do this. Click here for a guide on how to do that.

To have customers load the www version of the website regardless of how the domain name is typed, you will need to add a 301 redirect in you .htaccess file. The 301 status code means that a page has permanently moved to a new location. This is the best way to ensure that users and search engines are directed to the correct page.

#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.net.au [L,R=301,NC]

#Force non-www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*)$ http://yourdomain.net.au [L,R=301]

(Please ensure to update 'yourdomain.com' with your real domain name)