title: Pretty URLs in PHP frameworks
body: <p>I know that you can add rules in htaccess, but I see that PHP frameworks don't do that and somehow you still have pretty URLs. How do they do that if the server is not aware of the URL rules?</p>
  
  <p>I've been looking <a href="http://en.wikipedia.org/wiki/Yii" rel="nofollow noreferrer">Yii's</a> <a href="http://code.google.com/p/yii/source/browse/tags/1.1.8/framework/web/CUrlManager.php#119" rel="nofollow noreferrer">url manager class</a> but I don't understand how it does it.</p>