Htaccess File

bugariu-catalin/UrlShortenerTest/master/.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9]+)$ ./redirect.php?shortcode=$1 [L]
</IfModule>
Exit mobile version