Techie Tip of the Week: Installing Drupal or WordPress Themes on Stanford’s Web Servers

If you’re using the Collaboration Tools Installer or manually installing a Drupal or WordPress site on Stanford’s AFS servers, you may have wondered how you can update existing or install new themes, since you can’t do so directly within the application.

Here’s how:

1) Download the theme to your Desktop.

2) Unzip the theme.

3) Open an SFTP program like SecureFX or Fetch, log in, and change the plugin directory for your Drupal or WP instance:

For Drupal:
The directory should be something like “/afs/ir/group/groupname/cgi-bin/drupaldirectory/sites/all/themes”  (substitute groupname for your real group name; drupaldirectory for your real Drupal directory name)

For WordPress:
The directory should be something like “/afs/ir/group/groupname/cgi-bin/wordpressdirectory/wp-content/themes” (substitute groupname for your real group name; wordpressdirectory for your real WP directory name)

4)  Activate/Enable the theme:

  • For Drupal:
    Launch a web browser and log into your Drupal site.
    Go to administer > site building > themes and then check the Enabled box next to the desired theme.
  • For WordPress:
    Launch a web browser and log into your WordPress site.
    Go to Appearance > Themes and then click Activate underneath to the desired theme.

Your new theme is now active on your site!

Tags: , ,

Comments are closed.