So, I’m using a wordpress theme (unfortunately, I’m not able to get support for the theme any longer), and it has a contact form that makes a direct ajax call to a php file in the theme’s “includes” folder. However, all ajax calls to this file result in a 404 error. As a result, the contact form is not able to successfully post messages.
What server setting is most likely responsible for restricting public access to php files in the themes folder?
Read more here:: Theme making direct ajax calls to theme folder