htaccess ErrorDocument

Create a file called .htaccess in the root of your public_html/htdocs of your domain.

Inside add the following text:

Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on ErrorDocument 404 /index.php ErrorDocument 301 /index.php

With the index.php files being the pages that get redirected to.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments