Can't change 404 page

### Website URL

(please specify the URL of the site on which you are experiencing the problem)

Error Message

Forbidden

You don’t have permission to access /panel/indexpl.php on this server.

Other Information

Was not able to change the 404 to http://chris-hatfield-copywriter.free.nf/pages/404.html, although the page seems to be live. Also was not able to change or override ht.access files to do so. When trying through the Control panel > Advanced > error message, received the above “Forbidden” error message.

Thanks!

The control panel tends to be a bit picky with URLs. There are some security filters that have the tendency to just block the request if they see anything they don’t like.

If this happens, there isn’t a lot you can do about it in the control panel. Fortunately, what the Error Pages tool does is not rocket science, and is pretty easy to do yourself.

Simply go into the file manager, navigate to the folder of your website, and file the file with the name .htaccess. If it doesn’t exist, you can create one with that name.

Within that file simply add a line like this:

ErrorDocument 404 http://chris-hatfield-copywriter.free.nf/pages/404.html

Then, simply save the file and you’ll have set the error page!

5 Likes

Thanks for your response. I’ve already tried that, both trying to edit the .htaccess file, the .override file, or adding a new .htaccess file all result in a ’ permission denied at “/.htaccess” ’ error message, with no change.

You should be modifying that one htaccess file inside the htdocs folder, not outside it (if the file doesnt exist then simply create it)

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.