Because of an existing large amount of code I don't want to change the rewrite rules we have in place already but find a way in which I can ignore the rewrite rules for only a ajax request. I have been searching around for a while and I only managed to find suggestions of using