I have some selective-enhancement functionality via ajax on a site I'm building. When a use clicks the link, I'd like to send ajax as a parameter, the actual URL of the fallback page and have the serverside handling code route the URL to get the page/posttype/various id's...
Is there a method or function to manually route a wordpress URL and generate it's params?
Thx!