Add forcibly www in the beginning of the url using HTACCESS ?

By November 4, 2011 PHP
Add following code in your .htaccess file.
RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301

Leave a Reply

+ 21 = 30