After moving all my stuff to my new web site, I thought it'd be simple to redirect all the visitors from the old site to the new one. After some false starts, I found that the easiest method is the following:
- Create a moved.html file with <META HTTP-EQUIV="refresh" content="5; URL=http://kamhungsoh.com">.
- Copy moved.html to index.html.
- Create a .htaccess file with this rule: ErrorDocument 404 http://members.optusnet.com.au/khsoh/moved.html.
- Delete all files and folders on the old server and upload the new files.
No comments:
Post a Comment