Hi Friends
I have a website built in PHP & i changed some of PHP pages to .html ext. using URL Rewriting. everything working fine but now i can access my site using .php as well as .html ext. which is not good for SEO
this is my rule
[PHPNET=""]
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^Testimonials/testimonials.html$ Testimonials/testimonials.php
[/PHPNET]
to 301 redirect my php page to html i add following code but it not working please help
[PHPNET=""]Options +FollowSymlinks
RewriteEngine On
RewriteRule ^Testimonials/testimonials.php$ Testimonials/testimonials.html[R=301,QSA,L]
RewriteRule ^Testimonials/testimonials.html$ Testimonials/testimonials.php
[/PHPNET]