Is there an alternative way of getting the URL to a page (by id) apart from using cObj->getTypoLink_URL
?
I'm trying to create URL aliases, so a page can have multiple URLs (for example "/about" could actually point to "/corporate/home/about").
I'm currently hooking into realurl's hook decodeSpURL_preProc
, but TSFE and cObj are not initialised at that point therefore calling cObj->getTypoLink_URL
doesn't work.
I should add that the url alias should not redirect to the original url.