My custom 404 page does not work
When you configure how WP Cerber blocks unauthorized access to the default login page and your WordPress dashboard, you can select how to render the 404 pages for those locations. It can be either a simple, plain 404 page or a custom 404 page styled and rendered by the active theme or a visual WordPress page builder.
Unfortunately, not all 404 pages generated by visual page builders are compatible with WP Cerber. In such cases, the only option you have is to select “Display simple 404 page”. Do it in the “Site-specific settings” section located on the “Main Settings” tab.
This page is not elegant as it can be in case of rendering it by your theme, but in the vast majority of cases, WP Cerber renders 404 pages for bots and cybercriminals when they try to get access to prohibited areas on your website. With proper website navigation and menus in place, your customers and website visitors never see this 404 page or see it on a rare occasion.
Why the simple 404 page is better
Using a basic 404 page is the better option in terms of performance when your website is under attack.
When it comes to rendering a fancy 404 page for an occasionally lost visitor, it does not consume a lot of server resources, since visitors do not get lost all the time. However, we have a different situation when the website is under a massive hacker attack with numerous malicious requests.
For instance, a brute-force or a denial-of-service attack. For each of those requests, WP Cerber loads your active WordPress theme and, if it’s installed, a visual page builder just to render the fancy 404 page and show it to cybercriminals and attacking bots. Those attempts to break into your website can easily bring your web server down to its knees.
Another advantage of using simple 404 pages is better security because it makes it harder for attackers to retrieve information on what exactly software and security mechanisms are used on the website and how to bypass them in a less complicated way.
That’s why for all our web projects, we configure WP Cerber to use a simple 404 page.
Have any questions?
If you have a question regarding WordPress security or WP Cerber, leave them in the comments section below or get them answered on the community forum.
Spotted a bug or glitch?
We’d love to fix it! Share your bug discoveries with us here: Bug Report.