Continue reading .htaccess file – Redirect old domain to new domain

.htaccess file – Redirect old domain to new domain

.htaccess file ( most times you can ask your host to do this for you ): open up your .htaccess file and put the following into it. (OLDDOMAIN is for your previous one and NEWDOMAIN is for your new one) RewriteEngine on RewriteCond %{HTTP_HOST} ^olddomain.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.newdoman.com [NC] RewriteRule ^(.*)$ http://newdomain.net/$1 [L,R=301,NC] If…

Read more .htaccess file – Redirect old domain to new domain