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 Link to comment https://forums.phpfreaks.com/topic/27165-followsymlinks/ 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] Link to comment https://forums.phpfreaks.com/topic/27165-followsymlinks/#findComment-129706 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.