*** empty log message ***
diff --git a/redirector.php b/redirector.php
index 1211636..cd6535c 100644
--- a/redirector.php
+++ b/redirector.php
@@ -60,10 +60,13 @@
     }
     
     
-    $_SUBTAG = substr($_TAG, stripos($_TAG, '/') + 1);
-    $_TAG = substr($_TAG, 0, stripos($_TAG, '/'));
+    $x = stripos($_TAG, '/'); 
+    if ( $x !== FALSE) {
+    	$_SUBTAG = substr($_TAG, $x + 1);
+    	$_TAG = substr($_TAG, 0, $x);
+    	}
      
-    echo 'SUBTAG:' . $_SUBTAG . ' TAG:' . $_TAG . '<br>';
+    # echo 'SUBTAG:' . $_SUBTAG . ' TAG:' . $_TAG . '<br>';
     
     # strip potentially bad characters from file
     $_SUBTAG = preg_replace('/["\'?%$#@!;*&]/i', '', $_SUBTAG);