0

Possible Duplicate:
mod_rewrite php mysql

What I want to do is change this:

www.site.com/profile.php?id=1

to this:

www.site.com/profile/Terry_Harvey

Is there any way to go about doing this?

1
  • 1
    This is called "URL Rewriting" ... there are a lot of tutorials about how to do it. Google! Commented Apr 29, 2012 at 20:35

1 Answer 1

2

There are a LOT of things missing in your question. But the final answer would anyway be to look into mod_rewrite.

Sign up to request clarification or add additional context in comments.

4 Comments

Thanks, I'll check it out. As for the question, what else would you like to know?
+1 although I don't really see how Terry_Harvey maps to id=1
@AlienWebguy Like I said, LOT of things missing. ;)
@TerryHarvey check what @AlienWebguy said. Give us more details how the id is related to what seems like the username.