Answers for "how to write redirect rule in htaccess"

0

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>
Posted by: Guest on October-07-2020
1

htaccess redirect to html page

RedirectMatch 301 ^/blog/about /blog/about.html
Posted by: Guest on December-03-2020

Code answers related to "how to write redirect rule in htaccess"

Browse Popular Code Answers by Language