Htaccess File

MarkIvanowich/SimpAuth/master/SimpAuth/.htaccess

RewriteEngine on

#Rewrites should be in order of longest to shortest.
RewriteRule ^([0-9]+)?$ /index.php?id=$1
Rewriterule ^([0-9a-zA-Z_s]+)$ /index.php?name=$1 [L]

ErrorDocument 404 /index.php?id=0
Exit mobile version