My WordPress site has a 404-error page, how da I make my WordPress page appear instead of the Hestia 404 error page? Is it enough to just delete the 404 file?
Ngnix + PHP
My WordPress site has a 404-error page, how da I make my WordPress page appear instead of the Hestia 404 error page? Is it enough to just delete the 404 file?
Ngnix + PHP
switch to the wordpress template in “edit web”-section.
In fact, I’ve been using this template since I’ve been using WordPress! But if I open a URL of a file that no longer exists, I see the Hestia 404 page.

example file removed.
“site. com/wp-content/uploads/2023/10/logo.png” open page 404 Hestia
“site. com/wp-content/uploads/2023/10/” open page 404 Hestia
And
“site. com/test” work and show page 404 WordPress.
Any tips?
add this below error_log /var/log/nginx/domains/hridayaragam.com.error.log error; This will route all 404 errors to WordPress instead of showing Hestia’s default error page.
# WordPress 404 handling
error_page 404 /index.php;
Apply this in Hestia CP: /usr/local/hestia/data/templates/web/nginx/php-fpm/your template.stpl