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

Category: Plesk

How to redirect non-www URLs to www

You can redirect http://yourdomain.com to http://www.yourdomain.com by setting below code into .htaccess file. RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] RewriteRule ^(.*)$ http://www.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.