05-08-2008, 09:54 AM
[eluser]Sean Murphy[/eluser]
You shouldn't need that RewriteCond that restricts the REQUEST_URI to letters, numbers, and forward slashes. It might even cause problems for you down the road.
Give this a shot:
I hope I'm helping :-)
You shouldn't need that RewriteCond that restricts the REQUEST_URI to letters, numbers, and forward slashes. It might even cause problems for you down the road.
Give this a shot:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^([^\.]+)\.
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ index.php/users/%1/$1
RewriteCond $1 !^(index.php|images|robots.txt|js|css)
RewriteRule ^(.*)$ index.php/$1 [L]