• jignesh05

    (@jignesh05)


    I have been trying some code in my functions.php file. I got a error message on the site and now cannot access the website. The solution i understand was to replace the functions.php with older version. However my question is when some one try to open my site it sees the error message. I want the visitors of my site to see decent stating we are down instead of read technical error message.

    Is there a easy way to catch this error and show decent html page?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    The solution i understand was to replace the functions.php with older version.

    If you mean replacing it with a version backed up prior to the change, yes.

    I want the visitors of my site to see decent stating we are down instead of read technical error message.

    I don’t recommend that, you’ll want the specific error message to tell you how to fix it quickly. For example, I could offer a recommendation if you had quoted the error message.

    Ideally, you don’t ever want to do anything that would cause your visitors to see the error message. ??

    Thread Starter jignesh05

    (@jignesh05)

    Thanks for your response. I would prefers to have error description in log file and decent message to visitor so I can fix the problem and also have decent page for visitor.
    Any idea on how to achieve this.

    Moderator James Huff

    (@macmanx)

    It depends on the type of error. What was it?

    jack randall

    (@theotherlebowski)

    do you mean things like ‘404 page not found’ and ‘500 internal server’ error messages?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Replacing Error message with decent page’ is closed to new replies.