NetTalk Central

Author Topic: Custom error-pages  (Read 9469 times)

Wolfgang Orth

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • oData Wolfgang Orth
Custom error-pages
« on: September 19, 2010, 05:13:56 AM »
Hello all,

as shown in Example ErrorPage (32), you make your own errorpage.

Here is a gallery of 10 nice ones:

http://www.spiegel.de/fotostrecke/fotostrecke-59490.html

I also like this cute one - poor server: http://www.miskatonic.net/bribbel.html

You can do, as shown in the example 32, add the HTML-construction for this errorpage into the embed, of course.
But you also could use Winevent or Stringtheory (formerly part of OddJob) to read an entire file into a variable.

That means, you can create a complete, real existing HTML page, based on your main page of this server and put some descriptive 404 text on it.

I recommend to have this customized errorpage having the main menu, so the user can easily find to some other pages of your site, without being frustrated and needing to click back.

HINT: make sure, you have this line in the HTML-header:

<base href="http://www.your-address.com">

That base makes sure, that the errorpage can be found, even if the missing of that page happened in some sub/sub/subfolder:

http://kik4.odata.de/this/page/does/not/exist/

If you have made your own errorpage, how about sharing it here?

bye
Wolfgang