The Little Guy Posted November 14, 2006 Share Posted November 14, 2006 [code]Options +FollowSymlinksRewriteEngine onRewriteRule ^user/(.*)$ /user_index.php?uname=$1 [nc][/code]That works, but that isn't how I want users to type it into the addressbar (mysite.com/user/name)I would like them to type it in like so (mysite.com/name)the problem I am getting are these:- Internal Server Error- File Not FoundHere is a full version: http://www.webdeveloper.com/forum/showthread.php?t=127371 Quote Link to comment Share on other sites More sharing options...
AdRock Posted November 24, 2006 Share Posted November 24, 2006 Dunno if it will work but try this...works for my mod rewriteOptions +FollowSymlinksRewriteEngine onRewriteBase /RewriteRule ^/?([a-zA-Z_]+)$ user_index.php?uname=$1 [NC, L] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.