• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question 404 index.html not found for php websites (nignx)

andreios

Regular Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.60 #1
I see on almost al domains the error 404 index.html not found for what ever url.
like this, when the url is 'domain.com/permalink/' the this error is shown "404 domain.com/permalink/index.html not found", website works as expected.
Has something change in the server config recently that could cause this? Can't remember to have seen this before.
I use nginx directly for almost every domain.
 
By default Nginx log every 404 request as an error. So every time a bot (or a human) makes a request to a non existing page it gets logged as an error. You can disable this by adding the directives bellow to the Additional Nginx Directives for your domain in Plesk

Code:
location / {
    log_not_found off;
}
Or if you already have a location / block in your Additional Nginx Directives, add log_not_found off; to it.
 
Not sure if you have understood me. I see on every domain, I think it's at least all WordPress affected, always 404's on every url called.
The called pages work.
The strange thing is that it also tries to call index.html although this is not necessary.

But maybe something has changed with WordPress.

I have hardly any other 404's in the logs and I still want to be able to see 404 issues to debug.
 
Back
Top