Mod-rewriting .php file to ?u=(a-z)?

Hello,
I have successfully rewrite my www.site.com/index.php in to www.site.com/?u=h
This rule is applied:
rewriteRule ^index\.php$ http://www.site.com/?u=h [R=301,L]

Now i want to rewrite other .php file that is called "ads.php"
so i just add this lane:
rewriteRule ^ads\.php$ http://www.site.com/?u=a [R=301,L]
when i click the ads.php the page refreshes and it takes me on the www.site.com/?u=h (index.php)
but its named as www.site.com/?u=a (ads.php) - (index.php is displayed)
maybe something is wrong with my rewrite rule or i need to add something else, reply asap please.
 
Back
Top