404 error – File gives 404, but when renamed is found


I am working on a plugin on an Apache centos cPanel server.

I have created a file /wp-content/plugin/includes/license.php and when I try and access it via an ajax call or even directly via example.com/wp-content/plugin/includes/license.php I get error 404.

If I do nothing else apart from rename the file to a.php, the file is loaded as expected.

Is license some sort of reserved word or is this caused by a directive in .htaccess or what?

Steve 2 years 2022-06-24T17:15:59-05:00 0 Answers 0 views 0

Leave an answer