Redirect your whole site with two lines of code
Tuesday August 12, 2008
If you've been reading this site for any length of time, you know that you shouldn't use meta refresh tags to redirect pages, and instead should use 301 server redirects. But if you have to redirect an entire website, building a 301 redirect for every file could take a long time. Luckily, with htaccess and mod_rewrite, you can do this with two lines of code.
Add "Use mod_rewrite to Redirect Your Whole Site" to del.icio.us


Comments
Thanks for the info.I have read a lot about 301 redirect using .htaccess and mod_rewrite. but the problem is, what if I dont have access to my htacces file? I am hosting with Godaddy and I dont have access to my htaccess..it doesnt have any cPanel..I hope you can help me with this.