Hi,
I wanna to rewrite all .php extension to .html
I added that code to my htaccess but when i try to html google verification file directly (www.domain.com/googleabcxyz.html), i see 404 page. How can i fix it?
# url rewriting php to html
RewriteRule ^([0-9a-zA-Z-]+).html$ $1.php
RewriteRule ^([0-9a-zA-Z-]+)/([0-9a-zA-Z-]+).html$ $1/$2.php
RewriteRule ^([0-9a-zA-Z-]+)/([0-9a-zA-Z-]+)/([0-9a-zA-Z-]+).html$ $1/$2/$3.php
RewriteRule ^([0-9a-zA-Z-]+)/([0-9a-zA-Z-]+)/([0-9a-zA-Z-]+)/([0-9a-zA-Z-]+).html$ $1/$2/$3/$4.php
Thanks.