Lamez Posted October 15, 2008 Share Posted October 15, 2008 ok I have something like this site.com/user/profile?user=Lamez how can I change that to site.com/Lamez ? -Thanks Guys! Link to comment https://forums.phpfreaks.com/topic/128589-solved-mod_rewrite/ Share on other sites More sharing options...
trq Posted October 15, 2008 Share Posted October 15, 2008 Have you looked at the cheat sheat posted at the top of this board? Attempted anything yourself? Link to comment https://forums.phpfreaks.com/topic/128589-solved-mod_rewrite/#findComment-666433 Share on other sites More sharing options...
Lamez Posted October 15, 2008 Author Share Posted October 15, 2008 I do attempt everything on my own. I have a .htaccess file, but the code I put in made me redirect to my 500 error page. Link to comment https://forums.phpfreaks.com/topic/128589-solved-mod_rewrite/#findComment-666442 Share on other sites More sharing options...
Lamez Posted October 15, 2008 Author Share Posted October 15, 2008 ah, I found the problem, I put the wrong .htaccess file in the wrong folder, so the one that needs to be in my root folder, was in another folder, and the one for the root was in the wrong folder, I switch the two, and it works great! Link to comment https://forums.phpfreaks.com/topic/128589-solved-mod_rewrite/#findComment-666464 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.