This is kind of just a general information question so that I can implement it in a site later, but I was wondering how facebook does their mod_rewrite.
To be more explanatory, usually when a site has any kind of ajax page load you see a #/page-name in the address bar. On facebook the url appears just like a normal friendly url. How would you use mod_rewrite to rewrite something like that? or is it something else?
I, too, thought it was
mod_rewrite. However, because the pages are loaded asynchronously, there is no invocation ofmod_rewrite. I googled, it, came back to SO, and was linked to this, which details thepushState()method, it may help.https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history
It may not degrade gracefully into browsers not using HTML5, but then again, it might. Let me know how it works for you.