Redirect non www to www htaccess June 13, 2016 sarpanch Leave a comment RewriteCond %{HTTP_HOST} !^www.coding4developers.com$ [NC] RewriteRule ^(.*)$ http://www.coding4developers.com/$1 [L,R=301] More from my site Redirect after a time in Javascript Install pecl & intl extension on MAC XAMPP Batch insert in php mysql Prepared statement in php How to use two database connections in php? Itrate mysql table rows in php Share This: