This question is not exactly about the usage of wordpress but rather about something that wordpress does and which totally fascinates my: it rewrites urls the way that it contains the post or page title.
and I want to know how to do this. Not for my wordpress installation (it works perfectly there) but for a different project I’m working on.
I know about the apache module mod_rewrite and its amazing capabilities. I’ve read articles like this one and I understand how it works. They explain how to turn an url like …index.php?product=12&companyID=345 into something like …/apple/ipod/
But none of the articles I’ve found explain how I can use this technique to do what wordpress does: use a seemingly random string like “this-is-my-blog-post” to retrieve exactly this blog post.
Does anyone here have more insight into wordpress’ url rewriting technique than I do? I’d be interested in because I’d love to apply this technique to my other project.
- The topic ‘OT: How to create search engine friendly urls like wordpress’ is closed to new replies.