Hi
I know how to handle links like http://domain.com/article.php?title=thi ... icle-title
But what can I do to do the same job ( querying the database for that article) when users want to load this link: http://domain.com/articles/this-is-article-title.html
?id=stuff to stuff.html
Moderator: General Moderators
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Look into Apache's mod_rewrite.
I've also written a fairly simply URL Parsing tutorial to create links such as the ones I've made on Volectricity. It's purely database-driven, however, and may be more than you're after.
I've also written a fairly simply URL Parsing tutorial to create links such as the ones I've made on Volectricity. It's purely database-driven, however, and may be more than you're after.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
I like the tutorial super. Very well written.superdezign wrote:Look into Apache's mod_rewrite.
I've also written a fairly simply URL Parsing tutorial to create links such as the ones I've made on Volectricity. It's purely database-driven, however, and may be more than you're after.