Skip to content

Development tools

sagotsky edited this page Apr 9, 2013 · 2 revisions

We make frequent use of drush in developing OpenScholar. You should too.

Custom Drush commands

  • vsite-redirect-disable (vrd)
    • Removes custom domains from vsites. Don't run this in production. Useful for running on a test site that has vsites with custom domains. For example if Joe Professor has aliased joeprof.com to his site, http://example.com/joeprof, this can be used to purge that custom URL.
    • Option argument: --nid=1. Only delete domain for vsite with node id of 1.
  • vsite-redirect-list (vrl)
    • Lists vsite redirects domains by domain, nid, and name.
Clone this wiki locally