Permalink
Browse files

Since it will now show an error message, we can rewrite `/shorten` to…

… `shorten.php` as well.
  • Loading branch information...
1 parent dceebb8 commit 38a75a92c784837c580be93404de8db18ab9bf38 @mathiasbynens committed Dec 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 .htaccess
View
@@ -1,6 +1,6 @@
RewriteEngine On
RewriteBase /
-RewriteRule ^shorten(.+)$ shorten.php?$1 [L,QSA]
+RewriteRule ^shorten(.*)$ shorten.php?$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?slug=$1 [L,QSA]

0 comments on commit 38a75a9

Please sign in to comment.