Troubleshoot Drupal by stripping it down to safe mode

By xngo on February 21, 2019


Transfer your Drupal instance from 1 system to another 1. Then, on the latter system, it doesn't work(e.g. page not found, can't log in, url screw up, etc).

Troubleshooting tips

  • Can you clean install Drupal on the new system? This will take care of all requirements e.g.:
    • PDO driver
    • GD
    • Enable mod_rewrite
  • Clear all cache: drush cc all
  • Disable clean URLs: drush vset clean_url 0 --yes
    • If you run Drupal in subdirectory, then see
  • Disable boost module: drush -y pm-disable boost
  • Going to the extreme. Disable all non-core modules.

About the author

Xuan Ngo is the founder of He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.