Jan 03 2009
By
Jourdein | Filled under:
Code,
My Finds
I did a google search on which is the best one to use to redirect page from another. I had this in mind, whether to use meta tag refresh or 301 redirect in htaccess file. I was afraid that using meta redirect would be rank penalize by google.
After the search, the safest way to redirect is to use 301 redirect. To do 301 redirect you just need to add this code in .htaccess file in the root directory:
RewriteEngine On
Redirect 301 /index.html http://mydomain.com/blog/
You might be asking what is meta fresh tag… It just a simple html code put on the top of the html file that redirect user from that page to another page. It look like this:
<meta http-equiv="refresh" content="0;url=http://www.anotherdomain.com">
Here I’ve got some good illustration of the what those mean with other types or redirection.

Here is the link which I referred to (all links open in new window):