I am making a small social network and was wondering how can I make facebook style profile urls. For example:
My current url styling: http://www.website.com/user.php?id=username
Facebook style url that I want: http://www.website.com/username
I was wondering if this can be created with php? It would be easier to remember.
Look into .htaccess
Would let you goto example.com/profile/username?1=1&2=2&3=3, ect
Resources:
http://www.htaccess-guide.com/
http://www.htaccessbasics.com/
http://www.javascriptkit.com/howto/htaccess.shtml
en.wikipedia.org/wiki/Htaccess