diff --git a/hansel.module b/hansel.module
index d9ce426..687611b 100644
--- a/hansel.module
+++ b/hansel.module
@@ -86,6 +86,10 @@ function hansel_hansel_switch_types() {
       'config form' => 'hansel_ui_switch_path_alias_config_form',
       'file' => 'hansel.switches.inc',
     ),
+    'request uri' => array(
+      'compare' => 'hansel_switch_request_uri_compare',
+      'file' => 'hansel.switches.inc',
+    ),
   );
 }
 
diff --git a/hansel.switches.inc b/hansel.switches.inc
index d0c1b0f..f819692 100644
--- a/hansel.switches.inc
+++ b/hansel.switches.inc
@@ -219,4 +219,15 @@ function hansel_switch_path_alias_info($arguments) {
     case 3:
       return '(' . t('matches regular expression') . ')';
   }
-}
\ No newline at end of file
+}
+
+/**
+ * Callback for "Request URI" switch.
+ *
+ * @param array $arguments
+ * @param string $value
+ * @return boolean
+ */
+function hansel_switch_request_uri_compare($arguments, $value) {
+  return trim(request_uri(), '/') == $value;
+}
