I have noticed on some sites lately that they don't have file extensions in their url: www.domainname.com/login whereas other sites have www.domainname.com/login.php www.domainname.com/login.asp www.domainname.com/login.html How is this done, i know you can have a folder called login and it will show up like this BUT what about sites such as bebo.com. They have millions of members and their members links are www.bebo.com/MembersName (they hardly create a folder for every member!) Thanks in advance
I am sure someone will come along with a more complete answer, but i believe you should google mod_rewrite. Nick
As said by adam, it is either by having folders and it is just serving up the default document or using URL rewriting. If you have an Apache server it is easy to do in the .htaccess file where as with IIS it is more complex and rarely can be done on shared hosting unless your using .Net and your webhosts are willing to push all requests through the .net framework in which case you can either write a HTTPHandler or download one of the many prewritten ones where you just then need to write the rules in the config file