joined:May 23, 2010
This is my first post in this forum, and i hope my question has not been asked before, actually i googled a alot about the issue with no luck.
Most websites nowadays use database driven, dynamic pages. That is, a site like http://example.com would contain a page for displaying articles showarticle.php then to determine which article to pull out of the database, one would use query strings (http://example.com/showarticle.php?artcileid=523). I recently read about clean urls and how you can convert the previous URL to http://example.com/articles/523.html for example using mod_rewrite and .htaccess. If you notice here, we didn't lose the article id (523) it's still in the URL, it's just the place that changed. My question now is: a lot of websites use this technique, but i can't find any unique id in the title, for example a site like http://example.com/articles/how-to-be-an-effective-leader/ i don't see any reference to the page id here, and i don't think that they use the page title to be the primary key, as this would be against optimization rules. I learned that this technique is used by Wordpress. Do you have any idea how do they establish this?
[edited by: jdMorgan at 2:36 pm (utc) on May 25, 2010]
[edit reason] example.com [/edit]