Hi, I am trying out my first url rewrite on my local machine but it does not seem to do the rewrite.
I'm trying to rewrite this:
http://localhost/mysite/news_article.php?news_id=1
to:
http://localhost/mysite/news_article/page/1
This is what I have on my .htaccess
RewriteEngine on
RewriteRule ^news_article/page/([0-9]+)/?$ news_article.php?news_id=$1
And this file is located in the root on the folder called mysite.
I can't figure out why its not working, I know that the rewrite mod is functioning as I tries out some basic rewrites to see if if everything that needed to be swithced on was on and working.
Any suggestions greatly appreciated.
Thanks