Loading...
 
Documentation

Documentation


Re: Custom Error Pages

posts: 3665 United States

This is exactly what I did on my Tiki. Here's my custom 404 page:
http://www.keycontent.org/tiki-page.php?pageName=404

I've had no problems — it works perfectly.

-Rick

> I want to make some custom error pages for my tikiwiki site. I seen how to use an .htaccess file to define the location for custom error pages.
>
> EX:

>
Files .htaccess >

>
> order allow,deny
>
> deny from all
>
>
>
>
>

> ErrorDocument 404 /errordocs/error404.htm

>
> I'm wondering if using a static page in tikiwiki and linking it in this file would work?
>
> EX:

>
Files .htaccess >

>
> order allow,deny
>
> deny from all
>
>
>
>
>

> ErrorDocument 404 /tiki-page.php?pageName=404

>
> I know its obvious that for some errors this wont work, like php and database type problems.
> I'm wondering if the error page wont work, will it use the apache default error page?
>
> I'm sure other people have wanted to make their error pages look like part of the web site look.
> Any takes on the cons of doing this in a production environment with tikiwiki?

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting