Fix typo preventing canonicalization.
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Wed, 6 May 2009 04:47:35 +0000 (6 00:47 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Wed, 6 May 2009 04:47:35 +0000 (6 00:47 -0400)
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
htaccess.php

index c908263..080ae74 100644 (file)
@@ -115,7 +115,7 @@ foreach ($allowed_dirs as $dir => $recursive) {
 $full_dir_exp = implode('|', $big_exp);
 
 // prefer the extension-less URL
-$n[] = 'RewriteCond %{THE_REQUEST} \.html\x20$';
+$n[] = 'RewriteCond %{THE_REQUEST} \.html\x20';
 $n[] = "RewriteRule ^(($full_dir_exp)[^/]+)\.html$ \$1 [NS,R=301]";
 
 foreach ($allowed_dirs as $dir => $recursive) {