Answers for "how to redirect url using htaccess"

1

htaccess redirect to html page

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

.htaccess redirect

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !/maintenance.html$

RewriteRule $ /maintenance.html [R=302,L]
Posted by: Guest on August-11-2021

Code answers related to "how to redirect url using htaccess"

Browse Popular Code Answers by Language