Go to the Stanford University web site
Log In
(To add something to the Commons.)


Wordpress is an open source blogging system based on MySql and php.

Redirect from AFS to sites.stanford.edu and exclude one directory

We have recently moved a website from /afs/ir/group/name-of-group/ to sites.stanford.edu platform with url http://new-name.stanford.edu and we wanted to redirect everything from old site to new site, except forms that are built using Form Builder.

I wanted to share our code for those who are following the same trail...

RewriteEngine On

RewriteCond %{REQUEST_URI} !/group/name-of-group/forms [NC]
RewriteCond %{HTTP_HOST} !new-name.stanford.edu$ [NC]
RewriteRule ^(.*)$ http://new-name.stanford.edu/$1 [L,R=301]

Wordpress and events.stanford.edu


We are in the process of building a quick strike site in wordpress and are looking for a plugin that can import from events.stanford.edu. Is anyone doing this already?


Wordpress login/register links don't work after upgrade

Request submitted via HelpSU from Alba Holgado, Law School:

>The Register and Login and logout links on my wordpress instance at http:iaole.org stopped working after I upgraded the software. The links seem to work on Firefox running on Linux but not on Win 7, Win XP or other the browsers. The upgrade to the http://iaole.org WordPress instance was done through the Stanford Collaboration Tools Upgrader.

I confirmed that the login and register links are not visible on Firefox 6, IE 7 or Safari 5.1 (all under XP). Any suggestions I can pass along? Anyone else encountered this?

WordPress and the single user

The web services page (https://itservices.stanford.edu/service/web/wordpress) is pretty clear that WordPress is for departments/sanctioned groups/etc.

But does it really block me from adding a WordPress blog to my site? (Http://www.stanford.edu/~tylers)

If it's possible, are there any tricks/tips for installing to a /user account?

Wordpress versus Drupal

Hello! We currently run our department page (https://www.stanford.edu/dept/pe/cgi-bin/ ) in WordPress and would like to "upgrade" to the Stanford Modern Theme. As a disclaimer, I do not know much about installing, upgrading, etc. Very much a new user. My question is does it make sense to try and upgrade our current site to the Stanford Modern Theme (we have 125 pages) or should we start from scratch with a Drupal site?

Force Proxied Sites to Load via the Vanity URL

If you have a website at https://ponies.stanford.edu that is pointing to a Drupal install at https://www.stanford.edu/group/ponies/cgi-bin/drupal, and you want to force loading through the Vanity URL only (and avoid the broken CSS and links kerfuffle), you will need to modify the .htaccess file at the root of your drupal install, and add the following code right after the line that starts with RewriteBase.

Password Protected Wordpress Pages

We have created a WebAuth protected site for Wordpress. We need to have some of the pages protected by password. When we create the page and set a password for it, the page is created correctly. However when the page is opened for viewing Wordpress presents a blank page instead of the correct page content.

We can see that inside Wordpress the URL used to open the page uses http rather than https delivering a blank page. If we replace http with https in the URL dynamically in the browser, the page opens correctly.

Sites using WordPress at Stanford

If you run a WordPress site on campus, please add a link to it below.

In alphabetical order (and numbered only to make them easy to count):

Installing Notes and Best Practices for Implementing WordPressMU for Courses

These are the steps I use to set up WordPressMU for Stanford classes:

1) Request afs space for a class. If you request a group at /afs/ir/group/<name of group>


2) Request the virtual host redirect for <name of group>.stanford.edu at


3) Increase webspace, if necessary at

Templates/skins for WordPress, Drupal, Mediawiki

Web Templates (Stanford Modern)
Cross post with Stanford Web Serivces