Search Our Database
How to Add WWW to Your Website Using .htaccess?
Editing the .htaccess File
Open or create a new file .htaccess in public_html with content as sample below:
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]