diff --git a/url_alter.install b/url_alter.install
index 16e2e46..458bce3 100644
--- a/url_alter.install
+++ b/url_alter.install
@@ -28,21 +28,23 @@ function url_alter_uninstall() {
  */
 function url_alter_requirements($phase) {
   $requirements = array();
-  $t = get_t();
+  if (!defined('MAINTENANCE_MODE') || constant('MAINTENANCE_MODE') !== 'install') {
+    $t = get_t();
 
-  drupal_load('module', 'url_alter');
-  foreach (array('custom_url_rewrite_inbound', 'custom_url_rewrite_outbound') as $function) {
-    $requirement = array('title' => $t('URL alter'));
-    if (defined('URL_ALTER_' . strtoupper($function))) {
-      $requirement['value'] = $t('Overriding @function() successfully.', array('@function' => $function));
+    drupal_load('module', 'url_alter');
+    foreach (array('custom_url_rewrite_inbound', 'custom_url_rewrite_outbound') as $function) {
+      $requirement = array('title' => $t('URL alter'));
+      if (defined('URL_ALTER_' . strtoupper($function))) {
+        $requirement['value'] = $t('Overriding @function() successfully.', array('@function' => $function));
+      }
+      elseif (!url_alter_is_disabled()) {
+        $requirement['value'] = $t('Cannot override @function().', array('@function' => $function));
+        $requirement['severity'] = REQUIREMENT_ERROR;
+        $info = url_alter_get_function_info($function);
+        $requirement['description'] = $t("URL alter cannot override the function @function() because it is already defined (!location). Please comment out or remove the existing function and copy the function's body code into the <a href=\"@url-alter\">URL alter module's settings</a>.", array('@function' => $function, '!location' => $info->location ? $info->location : t("usually located in your site's settings.php file"), '@url-alter' => url('admin/settings/url-alter')));
+      }
+      $requirements['url_alter_' . $function] = $requirement;
     }
-    elseif (!url_alter_is_disabled()) {
-      $requirement['value'] = $t('Cannot override @function().', array('@function' => $function));
-      $requirement['severity'] = REQUIREMENT_ERROR;
-      $info = url_alter_get_function_info($function);
-      $requirement['description'] = $t("URL alter cannot override the function @function() because it is already defined (!location). Please comment out or remove the existing function and copy the function's body code into the <a href=\"@url-alter\">URL alter module's settings</a>.", array('@function' => $function, '!location' => $info->location ? $info->location : t("usually located in your site's settings.php file"), '@url-alter' => url('admin/settings/url-alter')));
-    }
-    $requirements['url_alter_' . $function] = $requirement;
   }
 
   return $requirements;
