Hi, Using Mod Rewrite, I need to convert: http://localhost/user/12517 to: http://localhost/peoplefind/view-user-profile?empid=12517 How would I do that? Any help would be appreciated. Nainil Chheda
I think you are missing something in your conversion. Did you mean to say? localhost/peoplefind/view-user-profile.php?empid=12517 A file extension of some sort need to be in there.
Yes. You are correct. I want to convert: http://localhost/user/12517 to: http://localhost/peoplefind/view-user-profile.php?empid=12517
RewriteEngine On RewriteRule ^user/([0-9]+)$ /peoplefind/view-user-profile.php?empid=$1 Code (markup): Should do it