May 12, 2012

How to forward your Stanford webpage to your blog/website

Step 1. Login into AFS https://afs.stanford.edu/ (will come back to this)
Step 2. Open up Notepad on your computer
Step 3. Copy and paste the following code into Notepad and substitute your info in (where bolded):
RedirectMatch Permanent ~yoursunetid.* http://www.yourwebsite.com/
Step 4. Click Save As and save the file as All type and name it .htaccess (nothing before or after. just ".htaccess")
Step 5. Click over to AFS again (See Step 1)
Step 6. Click on the WWW directory
Step 7. Upload the .htaccess file to the WWW directory (see the left corner under Actions)
Step 8. Celebrate! Your www.stanford.edu/~yoursunetid should now redirect to your website or blog