Routing/Redirecting Fails?


Site is available at, which is fine, but all URL’s are also available at, which I want to prevent.

Tried editing site.yaml as per the docs …

#  '/redirect-test': '/'     # This works
#  '/site/(.*)': '/$1'          # Fails?

Tried a few other things, including redirecting in each page, but no luck; I think due to there being a resource at the URL, preventing the redirect.

Should I be redirecting, or is there a better way; preferably that can be applied globally?