Answers for "redirect url which having .html by .htaccess file"

1

htaccess redirect to html page

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

htaccess route to index.php

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /index.php [L,QSA]


Using Sub directory:
RewriteRule ^.*$ /mvc/index.php [L,QSA]
Posted by: Guest on June-15-2020

Code answers related to "redirect url which having .html by .htaccess file"

Browse Popular Code Answers by Language