Tag Archives: redirect htaccess
How to redirect http:// to http://www
How to redirect http:// to http://www Some people will want to keep their website on http://domain.com or http://www.domain.com only. This can be done easily using. Htaccess and lines of code below.
1 2 3 |
RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] |
Redirect multiple domains (addon domains) to one domain name Many people when registering a domain, they will probably register it on more extensions.