homepage Welcome to WebmasterWorld Guest from 54.226.0.225
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
wordpress rewrite
Sandro87




msg:4098437
 12:45 am on Mar 16, 2010 (gmt 0)

hello,
how exactly does wordpress's internal rewrite work?
It doesn't uses a .htaccess file but it can still show the right content, does the code analyze the URI code?

 

jdMorgan




msg:4098852
 3:43 pm on Mar 16, 2010 (gmt 0)

In simplified terms, it looks at the requested URI (previously stored by Apache into a server variable as part of the initial incoming HTTP request-handling), and then opens the WP database, reads in, and outputs the desired content associated with that URI.

So, it's not a "rewrite" per-se, but rather, a database file read.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved