.htaccess 301 Redirect Code
by Dan
Looks like I keep forgetting to post the code for this so this is how you will do a 301 .htaccess redirect
| Redirect 301 /index.html http://www.danieltmurphy.com/welcome-to-my-site/ |
You must redirect from a specific location to a specific location. In this case my index.html file is totally blank but it does exist
Related posts:
- Code Cheat Sheets Below are some links to a few cheat sheets...
- Password Protected Directories and Wordpress So I moved my Wordpress install to the root...
- VBS Script to Delete Old Files I have setup my web hosting service to FTP...
- CD Drive Gone – Windows XP Fix Have you ever had your CD drive disappear from...
Related posts brought to you by Yet Another Related Posts Plugin.