Redirect tiny url to full url

i would like to keep tiny urls for most of my pages, but for some i need the full url to better explain where the user is.

how do i notice a page is displayed as a tiny url? any better way than checking the url string?

then i could do a redirect with go($page->url()). no problem with that.

I think it always amounts to checking the URL string, but if you use a route pattern

pattern => 'x/(:any)'

you can check if the page hash is the same as the placeholder, and then redirect.

1 Like