Can I use a custom 404 a page?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
waynethetodd
 
 
Posts: 31
Joined: Wed May 23, 2018 4:57 pm

Can I use a custom 404 a page?

Post by waynethetodd » Tue Aug 14, 2018 7:06 pm

Just wondering If theres a way to implement a custom 404 page with a site build in wysiwyg

WWBman
 
 
Posts: 595
Joined: Fri Jan 08, 2010 6:10 pm

Re: Can I use a custom 404 a page?

Post by WWBman » Tue Aug 14, 2018 7:39 pm

Yes you can.
I trap 404(Not Found) errors by adding the following to the .htaccess file.
ErrorDocument 404 /notfound.html or
ErrorDocument 404 /notfound.php
I don't know if there are other ways to do it.

The notfound page can be any name you like and created in wwb just like any other page except that the wwb option to generate external css style sheets must NOT be set for it to work.

EDIT:
I actually have my error page in a subdirectory - /errorpages:
ErrorDocument 404 /errorpages/error404.php

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests