Site logo

Archived topic

404.php nginx not working

2 replies · Started by Adam on October 24, 2020

Viewing posts 1–3 of 3

Hi,

I try to override 404.php and make it work on Nginx. Sadly when I visit page/post that doesn't exist I get generic Nginx 404 page.

Any idea how to make it works?

Thanks,
Adam

It took me a while but I found what caused an issue. I had to remove the directive error_page 404 404.html.

Glad to hear you found the answer!

This archived topic is closed to new replies.