Answers for "htaccess redirect request"

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

Browse Popular Code Answers by Language