avoid broken site after moving modules around

Public

After moving module folders inside your drupal installation (for instance form /modules to /modules/contrib), your site will probably be broken. Use following steps to 'repair'.

1) download registry_rebuild if you haven't done this before, this is a drush plugin

Get raw version
bash
  1. drush dl registry_rebuild

2) rebuild drupal registry through drush
3) clear cache

Get raw version
bash
  1. drush rr
  2. drush cc all