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