Can I use custom 404 errors with C5?
Permalink
Hi guys, I'm wondering if I'm able to use a custom 404 error (page not found) page with my C5 website?
I know there's code I pasted from the C5 Dashboard into my .htaccess file, and I've tried to add the following code just below it:
And my error404.php file exists in my /public_html/ directory (also where my .htaccess file is).
Can anyone let me know? Thanks!
I know there's code I pasted from the C5 Dashboard into my .htaccess file, and I've tried to add the following code just below it:
ErrorDocument 404 /error404.php
And my error404.php file exists in my /public_html/ directory (also where my .htaccess file is).
Can anyone let me know? Thanks!
When I go into my single_pages/ directory, there is no page_not_found.php file (this folder is empty according to my File Manager).
So I created a file called "page_not_found.php" in this folder, and pasted in the code that I had in my custom error page...but it still displays the C5 header banner thing, as well as a big white box around the background in the middle...is there any way to just have it use the code I'm specifying? Thanks
So I created a file called "page_not_found.php" in this folder, and pasted in the code that I had in my custom error page...but it still displays the C5 header banner thing, as well as a big white box around the background in the middle...is there any way to just have it use the code I'm specifying? Thanks
All you need to to do is to tweak,
/concrete/single_pages/page_not_found.php