Question: I'm currently in the process of setting my website, largely with php. Though this is my first time using it so I'm running into some problems.

I've got the basics of the site down. Registering, login-in, profile page e.t.c. However this is where I seem to have to make a decision about the site layout.

For instance. Currently a user's profile page has the URL of 

> 
> mysite.com/profile.php
> 
> 
> 

Ideally what I would like is for it to be is something along the lines of 

> 
> mysite.com/user/ChrisSalij
> 
> 
> 

From reading [this](https://stackoverflow.com/questions/115629/simplest-php-routing-framework) among other things I believe I need a Front Controller style site, though I'm not sure of this, nor where to start with implementing one.

Bearing in mind that I'm pretty new to php and the like, I would appreciate any helpful comments, and links, and constructive critiques. 

I'm defiantly will to learn so links to articles and explanations would be excellent. I usually do a fair amount of research on stuff like this. But I'm so new to it that I don't know where to start.

EDIT: I should also add that I'm planning on scaling this website up to the large scale. It's small to start with but there should be quite a few pages if my goals work out. So I'm willing to put the effort in now to get it set up right for the long term.
Thanks

Answer: 
Take a look at [URL Rewriting](http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html) or Apache's mod\_rewrite.
I agree with Sev, this can also be handled with url rewriting. You should also look into frameworks like CakePHP and CodeIgniter that do some things like this for you automatically.