Option For Custom Error.php - Question | JoomShaper

Option For Custom Error.php

JS

Johannes Schober

SP Page Builder 2 weeks ago

Hi, you have a great tutorial for creating a custom 404 page. However, when an update is carried out, the ‘error.php’ file is overwritten. Would it be possible to include an option to create your own php file for a custom 404 page?

I testet it with simply inserting this lines into error.php after the "use" namespace imports : $custom_error_file = DIR . "/custom_error.php"; if (file_exists($custom_error_file)) { include $custom_error_file; }

0
1 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 weeks ago #231739

Hello,

Thanks for reaching out to us.

Please, read this post: https://www.joomshaper.com/forum/question/46053

Thanks

0