How to customize 404 error pages


Hello, EasyEngine community, I have a problem with my sites and I would like to know if you could help me.

In my wordpress sites, 404 error pages get customized, but when the broken link sends a file, they return the nginx default error page.

For example:

I would like to know how I can customize this nginx 404 error page, if possible redirect it to my site’s home page.

I am completely new to the subject, so if you can, please explain me in a step-by-step manner.

P.S. I’m sorry for the bad translation, I do not know English and I used google translator.


Did you try using this plugin?
If it doesn’t work you might have to modify the .conf files.
This tutorial at DO might help


Many thanks zac.
Now I only have 1 problem because this method of digital ocean redirects all sites from my server to only 1 404 error page.
For example:
site. com/çfalskdfj.php would have the same 404 error page as site2. com/lsadfjafd.php.
Is there any way to customize this, so that each server site has its own 404 error page?

closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.