The Little Guy Posted November 15, 2007 Share Posted November 15, 2007 Why is this the only code I can get to work? Options +FollowSymlinks RewriteEngine On RewriteRule ^(.*)/$ profile/profile.php?user=$1 [nc] I don't want my URL formatted like that: http://mysize.com/user/ I want it to format like this: http://mysize.com/user without the trailing slash at the end Options +FollowSymlinks RewriteEngine On RewriteRule ^(.*)$ profile/profile.php?user=$1 [nc] I have tried the above, but get an Internal Server Error problem. can someone PLEASE help?? Quote Link to comment https://forums.phpfreaks.com/topic/77418-htaccess-help/ Share on other sites More sharing options...
teng84 Posted November 15, 2007 Share Posted November 15, 2007 no sure but try RewriteRule ^(.*?user)$ profile/profile.php?user=$1 [nc] Quote Link to comment https://forums.phpfreaks.com/topic/77418-htaccess-help/#findComment-391941 Share on other sites More sharing options...
The Little Guy Posted November 15, 2007 Author Share Posted November 15, 2007 nope... "Internal Server Error". Quote Link to comment https://forums.phpfreaks.com/topic/77418-htaccess-help/#findComment-391943 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.