OK, so I've been learning PHP for about 7 years now on and off, but never have I taken the time to look into URL rewriting. Until now I've not needed it, but you can guarantee the one thing you think you wont need, you need!
I have the following URL style:
I also need it to be reversible, so if someone types in www.sitename.com/username it works.
Previous attempt was setting up mod_rewrite rules in .htaccess, is this the best way?
If not, how?
Any help much appreciated!