# File: /trackingapp/go/.htaccess
# NEW FILE

Options -Indexes
RewriteEngine On

# If the request is a real file or directory, serve it normally
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# /trackingapp/go/slug  ->  /trackingapp/go/index.php?slug=slug
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?slug=$1 [L,QSA]