Tagged: error404
Hi,
I have created a new page with the Advanced Layout Builder, called it “error404” and set this in the theme settings as my custom 404 page:
But when I type in a wrong URL of my site like http://www.mysite.de/somewhat then it leads me to another “not found” page:
And in the documentation is told, that this does not work with ALB created pages:
Unfortunately, pages like the 404 page or search result page cannot be created using the page builder.
To create a custom 404 page you need to edit the following files:
wp-content\themes\enfold\Enfold\404.php
wp-content\themes\enfold\includes\error404.phpOr use a 404 plugin that suits your requirement.
But why can I set in the theme settings a custom 404 page when it is not possible?
Very confusing …
Is it now possible with a custom created 404 page, set as error page in the theme settings, or not?
If yes, then it does not work, it shows the standard “not found” page – see screenshot above.
How can I use my custom 404 page created with ALB and set as error404 page in the theme settings?
Browser cache is cleared, cache plugin is not yet installed.
It makes no difference whether I choose in the theme settings for 404 page “redirect” or “without redirect”.
Thanks
Hey BeeCee,
Thanks for your patience and the link to your site, the custom 404 page doesn’t work when the maintenance mode is enabled, I tested by disabling your maintenance mode for a minute and your custom 404 page showed when I entered random letters.
Thanks for pointing our the needed update for our 404 page option, I notified the team.
Best regards,
Mike
Thank you very much, with disabled maintanence mode it is working and thanks for notifiying the team about it.
Then I will wait for a theme update, so you can close this ticket.