Today I had this super annoying error, It’s a 404 error meaning the website is requesting a file or something that doesn’t exist. To verify this I went and look at the WordPress Folder plugin. After verifying, the folder itself didn’t look odd(looks exactly the same as my backend).

Also went ahead and tried re-installing the plugin, which most of the time fixes any issues. It didn’t so I had to consult our development team. The reason this error was happening was that the Permalink was set to plain.

There are some rare cases where the permalink changes how plugins or themes work, in my case, it kinda changed the request URL. The worst issues to debug are those that don’t give much information about the issue, like this one.

Before I forget, to fix this issue I simply changed the Permalink from plain to post-name. You can find this setting in WordPress Dashboard -> Settings -> Permalinks