The following instructions show how to set up redirection for a Web site on the depts.washington.edu. With minor substitutions, the same method works for Web sites on other UW Web servers.
Make sure your new Web site is up and running and ready for public browsing. Visitors will be redirected from your old Web site to your new Web site as soon as you have completed these steps.
At the prompt, enter the following command to change into to your Web directory:
Edit the server directive file of your old Web site. To do so using the Pico editor, enter:
Add the following lines to the file:
RewriteRule ^(.*)$ http://newsite.washington.edu/ [R=301,L]
Replace http://www.newsite.washington.edu with your new Web site's location.
Save and close the file using Pico. (Click for instructions on how to use pico).
That's it! Check your site to make sure it's working properly.
This page is maintained by UW Information Technology. Please contact us at help[at]uw.edu if you have any questions about this documentation, require assistance, or have feedback.