Loading...
 

Documentation Help

You are viewing a reply to Custom Error Pages Print this page only Print all pages

Re: Custom Error Pages

ricks99 posts: 2980 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? [Toggle] [Toggle Vertically]

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! [Toggle] [Toggle Vertically]

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

Shoutbox [Toggle] [Toggle Vertically]

Torsten Fabricius, 09:54 UTC, Wed 19 Feb 2014: Hello everybody, please mind the ((TikiFestSysadmin2014)) in August. Mainly meant for the Sysadmins, which are located in and near Germany (and France), active community members from Canada are expected to be attending.
luciash d' being, 12:28 UTC, Wed 01 Jan 2014: Happy New Year ! :-)
luciash d' being, 14:00 UTC, Sun 27 Oct 2013: @ricks99: there is a regression bug in Tiki resetting the avatars to the default one imho
Rick, 16:56 UTC, Wed 31 Jul 2013: What happened to the avatars?
Jonny Bradley, 12:44 UTC, Wed 10 Apr 2013: Biggest TikiFest in ages starts tomorrow [Link]