We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924

How to redirect www URLs to non-www

How to redirect www URLs to non-www

You can redirect http://www.yourdomain.com to http://yourdomain.com by setting below code into .htaccess file.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC] RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]

// Replace yourdomain.com with your actual domain/website name.

Please do contact us at esupport@L3webhosting.com if you require any further assistance.

Leave a Reply

Your email address will not be published. Required fields are marked *