Ajax not finding url
问题 Quick question I have been working at but can't seem to get it fixed. I have a ajax call but it is not getting a response from the php file, it seems to be loading a 404 instead. The url in the address bar is "mydomain.com/checkcity/" The location of the file with the ajax is "/php/advert/script.php" The location of the php file to be called is "/php/advert/available.php" I am using virtual urls through the use of htaccess. Here is my ajax call: $.ajax({ type: "POST", url: "/available.php",