RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d #---- # this one redirects funny, I have no idea where its going as it seems to send to index.php (header redirect to another domain), and appends missing.html (404 page) # RewriteRule ^([A-Za-z0-9_.-)\(.*)$ script.php?username=$1&do=$2 [L] #---- # this one threw me internal server error # RewriteRule ^([A-Za-z0-9_.-)\(.*)$ script.php?username=$1&do=$2 [L] # RewriteRule ^([A-Za-z0-9_.-)$ script.php?username=$1 [L] #---- #this is the one I'm currently using to send /blah to script.php?username=blah RewriteRule ^(.*)$ script.php?username=$1 [L]