Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… `shorten.php` as well.
  • Loading branch information...
commit 38a75a92c784837c580be93404de8db18ab9bf38 1 parent dceebb8
@mathiasbynens authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .htaccess
View
2  .htaccess
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.