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

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduedueduedusedusedueduseduedus