title: How to allow hyphens in htaccess rewrite?
body: <p>I am having problems creating clean urls containing a hyphen.</p>
  
  <p>I want the url to be <code>/services/baking-cake</code>, and I would like to redirect to the version of the url without a trailing slash.</p>
  
  <p>My .htaccess now has these rules:</p>
  
  <pre><code>RewriteRule services/(.*)/ services/$1 [L,R=301]
  RewriteRule services/(.*) services.php?page=$1
  </code></pre>
  
  <p>This works fine for the query-string <code>baking</code>, but not for <code>baking-cake</code>. In that case, when a trailing slash is added, it jumps to:</p>
  
  <pre><code>/services.php/baking-cake?page=baking-cake/
  </code></pre>
  
  <p>How do I change the match?</p>