14. Re-directing to a different site
If you have moved your site from users hosting to a different one either inside or outside of the university you will probably want to re-direct your site visitors to the new location. This is easy to do by:
- create a
.htaccessfile using a text editor - Type in the following code changing
myusernameto your username and replacewww.my-new-site.comwith the real location of your site: - Save and upload to your users webspace. Visitors to your users web space will now automatically be re-directed to the new location.
Up: Contents Previous: 13. Writing your own Safe Perl.

