howto: .htaccess redirect to www

In order to redirect all non-www subdomains to your www domain, all you need to do is editing your .htaccess file. I’ll show you how, its pretty easy: If you want to redirect all non-www requests to your site to the www version, add the following code to your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} … Read more