Hi i'm trying to do like this:
http://example.com/members/username
Then the profile of that user will come up.
But idk how to do it.
Only know how to do /members/?u=username
I'M SORRY FOR MY ENGLISH!
example.com/members/username
Moderator: General Moderators
Re: example.com/members/username
It's called URL rewriting. Exactly how you do it depends on your web server; most people have Apache and end up with something in their .htaccess looking like
Keep in mind that URL rewriting only lets you handle URLs like "/members/username" - you still have to output them in your HTML manually.
Code: Select all
RewriteEngine on
RewriteRule ^/?members/([^/]+) /members/index.php?u=$1 [L]