/ Published in: Apache
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yoursite.com [NC] RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]