Apache errors (No matching DirectoryIndex...)
Yesterday and today, my site’s traffic dropped by almost 100%.
I checked and the site is still indexed on Google and it still ranks for its main keywords. So that’s not the issue.
Then I noticed my site has been loading very slow. So I checked the error log and I see a lot of errors in the apache error log.
AH01276: Cannot serve directory /srv/users/serverpilot/apps/sitename/public/wp-content/uploads/2021/05/: No matching DirectoryIndex (index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive
[Tue May 11 10:22:52.161451 2021] [core:error] [pid 15803:tid 140383480702720] (36)File name too long: [client 220.127.116.11:0] AH00127: Cannot map HEAD /email@example.com:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDhweCIgaGVpZ2h0PSI0OHB4IiB2aWV3Qm94PSIwIDAgNDggNDgiIHZlcnNpb249IjEuMSIge…This (the charactors) continues for a few paragpahs
I haven’t changed anything in the past few days. Didn’t mess with any settings or anything like that.
I did update a few plugins including:
Breeze cache plugin
EWWW Image Optimizer
Really Simple SSL
It’s a WordPress site on Ubuntu 16.04.1 x64. I am using ServerPilot to manage the server.
I was hoping someone could help me and point me towards the right direction. Thank you very much in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×