How does WordPress create URLs that Apache knows about?

Posted by Prem Tiwari | Updated on

Actually there is no communication happening between Apache and WordPress. The “magic” is happening in Apache mod_rewrite rules.

For a standard WordPress installation, you have the following rules in .htaccess:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers