Jump to content

mod-rewrite for url?


ohdang888

Recommended Posts

Let's say there is a user name of "Bobby" and his user id was "12345"

 

so most of my page urls are like this...

http://www.mydomain.com/user/profile.php?id=12345

 

but how do i create something like this:

http://www.mydomain.com/user/Bobby

 

Like, where it goes to the folder "user", but then doesn't look for the file/folder named "bobby"

 

I've heard a mod-rewrite does this, but how do i do that?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/130192-mod-rewrite-for-url/
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.