Loading...
 
Skip to main content

Documentation


You are viewing a reply to Custom Error Pages

Re: Re: Custom Error Pages

Very nice. One Last question, What other errors can this work for?

> This is exactly what I did on my Tiki. Here's my custom 404 page:
> http://www.keycontent.org/tiki-page.php?pageName=404Question
>
> 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?