Jump to content

[SOLVED] A profile ID number


The Little Guy

Recommended Posts

I am not sure what is wrong with this rewrite:

 

RewriteRule ^(.+)/([0-9]+)$ profile.php?id=$2

 

I want the user to type in his/her id number after the URL, and it will go to his/her profile. The final result I would like to look like this example:

 

http://dudeel.com/839733

Link to comment
https://forums.phpfreaks.com/topic/133978-solved-a-profile-id-number/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.