-1

I am running a website like twitter where users can view their posts by going to

www.mywebsite.com/post.php?pid=555

Where 555 is the id of the post they request, but I noticed when you view your status on twitter you go to something like for example

https://twitter.com/BarackObama/status/484722240684965888

where I think 484722240684965888 is the id of the status.

so does twitter have a folder for every status on their website?

MrDi
  • 113
  • 7

1 Answers1

0

This is likely done using a rewrite engine such as Apache's mod_rewrite.

I would recommend that you should read up on that. Depending on your server configuration you would likely do this through a .htaccess file

Kevin Morse
  • 244
  • 2
  • 13