.htaccess redirect by eckert
This is probably a better method for redirecting, especially if it’s permanent.
Add the following code to your .htaccess file that should be in your html folder on your server
RedirectMatch permanent ^/$ http://yourdomain.com/
If you don’t have an .htaccess file, just make a new file and name it .htaccess.
Just want a simple redirect in your header? Then check out Meta Redirect
September 26th, 2008 at 2:09 pm
Yeah, actually, you NEVER want to use a Meta Redirect. If you can use ColdFusion, PHP, ASP, Java, .NET, or Rails, then you have other options:
http://itscalledwebdesign.com/dont-use-meta-redirect/