title: 404 page not found error
body: <p>I am using a WAMP server and I need to change the "404 not found page" style using htaccess. How can I do it?</p>
  
  <p>"Not Found</p>
  
  <p>The requested URL /viewprofile.php was not found on this server".Here is my htaccess file</p>
  
  <pre><code>    RewriteEngine on
  RewriteRule (.*)-(.*).htm$ viewprofile.php?id=$1
  RewriteRule (.*).htm$ viewprofile.php?id=$2
  RewriteRule viewads(.*)\.htm$ viewads.php?id=$1
  RewriteRule (.*)&amp;(.*)\.htm$ homeads.php?id=$2
  RewriteRule (.*).htm$ profile_city.php?id=$1
  RewriteRule (.*).htm$ profile_cast.php?id=$1
  
  
  
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.php -f
  RewriteRule ^(.*)$ $1.php
  </code></pre>