techiefreak05 Posted December 20, 2006 Share Posted December 20, 2006 Hi, how would I create a rule that would make www.site.com/user redirect to: www.site.com/folder/index.php?username=useralso. I cant do anything dealing with RewriteRule on my localhost server ... why not? Its just a simple server I et up to test and build my website until i get it up. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 20, 2006 Share Posted December 20, 2006 What server are you using on localhost? If its Apache then you wil need to enable the mod_rewrite extension in the httpd.conf - you do that by removing the # from infront of the following line:[b]LoadModule rewrite_module modules/mod_rewrite.so[/b]Now save the httpd.conf and restart the Apache server. 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.