Information technology tools and resources at the UW
The following instructions show how to set up redirection for a website on the depts.washington.edu. With minor substitutions, the same method works for websites on other UW Web servers.
Make sure your new website is up and running and ready for public browsing. Visitors will be redirected from your old website to your new website 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 website. 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 website’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.