Answers for "htaccess moved permanently redirect"

2

htaccess redirect to public folder

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ public/index.php?$1 [L,QSA]
Posted by: Guest on June-13-2020
1

htaccess 404 redirect

ErrorDocument 404 /404.html
Posted by: Guest on October-05-2020

Browse Popular Code Answers by Language