title: How to get particular page URL in magento
body: <p>I would like to get a page's URL key in Magento.</p>
  
  <p>For example, I have a CMS page called "What's New" with the identifier (or URL key) "whats_new". Its correct URL is therefore <code>http://mysite.com/whats_new</code></p>
  
  <p>Currently I use this code to echo its location:</p>
  
  <pre><code>&lt;?php echo Mage::getBaseUrl();?&gt;whats_new
  </code></pre>
  
  <p>I feel it's bad practice because its identifier (or URL key) is administrable; if its URL key or identifier changes then the link will break. What is the proper way to echo its dynamic URL key? Perhaps something similar to Wordpress's <code>get_permalink('10')</code>?</p>