title: .htaccess rewriterule syntax on ipage
body: <p>My mates and I are putting the finishing touches on our website hosted with ipage but we are just having one small issue with our .htaccess.</p>
  
  <p>We want to make our urls SEO friendly (and neat) and the rewriterule is not working, we keep getting 404 errors. I just want to verify the syntax is correct. I have questioned it with ipage and they said mod_rewrite is installed and allowoverride all is set but couldn't help with the regular expression.</p>
  
  <p>The url is: </p>
  
  <p><em>http:// www.example.com/article.php?title=Some-Article</em> </p>
  
  <p>and we want to make it:</p>
  
  <p><em>http:// www.example.com/Some-Article</em> </p>
  
  <p>the entire htaccess file:</p>
  
  <pre><code># Protect db_connect
  &lt;files db_connect.php&gt;
  order allow,deny
  deny from all
  &lt;/files&gt;
  
  # Protect .htaccess
  &lt;files .htaccess&gt;
  order allow,deny
  deny from all
  &lt;/files&gt;
  
  Options +FollowSymLinks 
  Options +Indexes
  RewriteEngine On
  
  # Remove .php but still allow addressing .php
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteCond %{REQUEST_FILENAME}\.php -f
  RewriteRule ^(.*)$ $1.php
  
  RewriteRule ^([^/]*)/$ /article.php?title=$1 [L]
  </code></pre>
  
  <p>Any help would be greatly appreciated as I have searched for hours and also tested the syntax generated from <a href="http://www.generateit.net/mod-rewrite/" rel="nofollow">http://www.generateit.net/mod-rewrite/</a> with no luck.</p>
  
  <p>Regards,</p>
  
  <p>Adam</p>