In what way does Wordpress rewrite page URLs?

Posted by Mac Taylor on Stack Overflow See other posts from Stack Overflow or by Mac Taylor
Published on 2010-04-27T16:43:51Z Indexed on 2010/05/02 12:37 UTC
Read the original article Hit count: 190

Filed under:
|
|

Hey

Recently I'm interested in post's structure of Wordpress.

They use a table named (wp_posts) and in this table they saved 3 related fields such as :

post_title
post_name
guid 

It's clear that they save title of each story in post_title field , and slugs in post_name , and full url of a post in guild filed .

But where the hell, they rewrite these urls in way it appears in browsers :

http://localhost/wordpress/about/

There is no htaccess rules for this !

I checked rewrite.php and didn't understand an inch ?!

i need to create similar pages , what steps should i take !?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql