url rewriting gives “object not found” error
问题 Below is my original url http://localhost/mysite/mainarticle?article_id=84 RewriteRule RewriteRule ^/article/([0-9]+) /mainarticle?article_id=$1 [L] new url http://localhost/mysite/article/84 When I use the new url it gives the Object not found error. Seems like my rewrite rule is not working. Need your help if I'm using the rule correctly or changes are needed. Note: I'm using additional rules as well to hide extentions. RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L