I'm using the following URL rewrite rule:
#URL Rewriting
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?username=$1 [L]
This is working just fine for most accounts, but if the username has a dot in it (e.g. User.Name
) then my rewrite is failing and the page won't load.