how to write redirect rule in htaccess code example
Example 1: htaccess rewrite rule
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
Example 2: htaccess redirect to html page
RedirectMatch 301 ^/blog/about /blog/about.html