htaccess file redirect php code example Example: htaccess redirect to html page RedirectMatch 301 ^/blog/about /blog/about.html