.htaccess twitter or facebook URL naming convention

Posted by Mike Silvis on Stack Overflow See other posts from Stack Overflow or by Mike Silvis
Published on 2010-04-04T01:43:27Z Indexed on 2010/04/04 1:53 UTC
Read the original article Hit count: 291

Filed under:
|
|

For my Social Networking Site, I would like to build a facebook, or twitter similar URL rewriting naming convention.

Using Twitter as an example, they have pages labeled twitter.com/about and another page labeled twitter.com/{$username}

However, how do you differentiate between say a user who has registers on to our site as "about" then. From this we are going to have a server conflict between the user "about" and the page about.

What is the best way to handle this?

© Stack Overflow or respective owner

Related posts about php

Related posts about .htaccess