I've .htaccess file which contains some 301 redirects. See the .htaccess code below. The third 301 redirect works fine. But the first and second redirects are producing 404 Page not found result. I've searched over SO and google and found some solutions. But none of them are working.
Following is my .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Redirect 301 /page.php?page=8 http://www.mydomain.com/about-us/
Redirect 301 /page.php?page=5 http://www.mydomain.com/contact-us/
Redirect 301 /testimonial.php http://www.mydomain.com/testimonials/
Please suggest.