Skip to content

Commit

Permalink
Since it will now show an error message, we can rewrite /shorten to…
Browse files Browse the repository at this point in the history
… `shorten.php` as well.
  • Loading branch information
mathiasbynens committed Dec 3, 2010
1 parent dceebb8 commit 38a75a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -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.