WordPress 4.9.6 – IncludeMe & getAjax GET using wrong URL
If I run a curl command: curl https://theprepared.life/data/earthquakes-today.json I get back the json object correctly. So your server work properly. So unless from a different origin, when you running $.getJSON() call, you only need to submit data/earthquakes-today.json as the url, instead of the entire url, which caused the 404 error. $.getJSON(“data/earthquakes-today.json”, function(data) { // rest … Read more