Simulate a specific page when making AJAX calls

The issue turned out to be elsewhere. But I did learn that there is no way to overwrite the queried URL directly, as it comes from $_SERVER variables.

The answer here had some code for anyone who wants to do that:
https://stackoverflow.com/questions/10739721/wordpress-ajax-parse-url

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)