Custom 404 page doesn't appear

So i wanted a custom 404 error page. I did everything...texts, image...i even replaced the default 404 URL with my 404 URL.
But when i make it work, it goes to the default 404 page (aka profreehost 404) and no custom 404 page. Unless i type "404.html" on the google search bar.

So am i doing something wrong?


  • edited September 2017

    create a file in the /htdocs directory and give it the name .htaccess. Add these lines to the file.

    ErrorDocument 403     /403.php
    ErrorDocument 404     /404.php

    /404.php will be changes to your error document.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion