A WordPress plugin is producing a bunch of 404s which you can see here in "Avoid bad requests" -- https://gtmetrix.com/reports/licencedbreeders.uk/palukN2Z
I am being told the following by the author -- "Its a misconfiguration of your hosting server. PHP's "PATH_INFO" functionality is not working for URLs that end in .js, with causes URLs suchs as the below to lead to a 404:
The thing is that the Nginx server needs to be configured as detailed here:
As I couldn't find anything in here about PHP's "PATH_INFO" functionality, or in the documentation, I thought I would run it by you before trying what he suggests.
Nice to see you here!
Practically, any WordPress site use JS files, so the questions should be, why only this plugin JS requests are failing?
I have to admit that I was not aware of this Nginx suggested PHP configuration, the thing is that I can not test it because JS requests are working fine as expected in all my sites, but I promise I will take the time to test it and study it the next time we do an update to the Webinoly server stack (scheduled: v1.12.0 later in july).
Would be great if you try it and then give us your feedback about the advantages of using this configuration.
Just add the public key in the authorized keys file ~/.ssh/authorized_keys and then I'm not sure but maybe you will need to restart the SSH service.
PayPal · GitHub Sponsors · Bitcoin