Home rewrite url with id in .htaccess
 I've attempted to rewrite an URL with .htaccess but nothing will do the right thing. I've tried many different possibilities with no effect. On the server rewrite_mod is enabled. My intention is to rewrite the following URL: domain.com/article/book.php?id=500 to: domain.com/article/book/500 The .htaccess already has a RewriteRule for the extension of the pages: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)1.php [NC,L]