Improved flow for hijacking requests and letting them work better with the rest of wordpress