title: How to replace underscores in codeigniter url with dashes?
body: <p>I would like to know the simplest solution to changing the underscores of my codeigniter urls to dashes, for seo reasons.</p>
  
  <p>My controllers look like:</p>
  
  <pre><code>public function request_guide() {
  ...Load view etc...
  }
  </code></pre>
  
  <p>So to browse to this page I would have to go to:</p>
  
  <pre><code>www.domain.com/request_guide
  </code></pre>
  
  <p>But I want to be more seo friendly and use dashes instead of underscores, like so:</p>
  
  <pre><code>www.domain.com/request-guide
  </code></pre>
  
  <p>I am under the impression that codeigniter functions require underscores (might be wrong).</p>
  
  <p>In previous projects I have simply used mod_rewrite but I believe that these actions can be performed using routes.</p>
  
  <p>What is the easiest way for me to rewrite the urls replacing the underscores with dashes???</p>