title: Php url space replace with dash(-) by .htaccess file
body: <p>I've php link like that</p>
  
  <pre><code>echo "&lt;h4&gt;&lt;a href='$bname_d'&gt;$bname_d&lt;/a&gt;&lt;/h4&gt;'
  </code></pre>
  
  <p>If <strong>$bname_d = Creativeartbd host company</strong> then the url is show</p>
  
  <pre><code>http://mysite.com/Creativeartbd host company (2 space in this url)
  </code></pre>
  
  <p>So how do i replace this space with dash by php/.htaccess ?</p>
  
  <p>Currently I used following .htaccess rules</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /businesspage.php?page=$1 [L]
  </code></pre>
  
  <p>Thanks for your help. </p>