I’ve stumbled across this question in other threads. Now I feel it’s time to solve this if possible.
My content uri:s (real paths)
My routed uri:s (fake path)
I want to “convert” my routed uri to my original uri or $page object, something like this.
$uri_or_page_obj1 = route->run('company/microsoft'); $uri_or_page_obj2 = route->run('contact'); echo $uri_or_page_obj1; // computer/item/company/microsoft or object echo $uri_or_page_obj2; // about/contact or object
Run the route internally to get the original uri or $page. How is it done?