Loading...
 

Documentation


You are viewing a reply to Custom Error Pages  

Re: Custom Error Pages

ricks99 posts: 3210 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?

Why Register?

Register at tiki.org and you'll be able to use it at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.

Subscribe to Tiki Newsletters!

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki