Categories
Hacks

.htaccess redirect from old domain to new domain

Htaccess is a powerful tool. Simplest mistake in syntax can cause problems. In this post i am talking about the permanent redirect, ie 301 redirect of old domain to new domain. Case 1: if you need to keep the url structure of old domain in the new one eg: http://olddomain.com/hello gets redirected to http://newdomain.com/hello Do […]