docs.page
docs.page copied to clipboard
Some nested redirects return "Error code: 522"
Hi! We observed that some of our nested redirects from the old sections now return "Error code: 522".
For example, here is the redirect: /patrol/finders/advanced
And when you go to the actual page: https://patrol.leancode.co/patrol/finders/advanced You can see "Error code: 522".
This redirect works: https://docs.page/leancodepl/patrol/patrol/finders/advanced -> https://patrol.leancode.co/finders/advanced
So it looks like it doesn't work on custom domains. 🤔
Thanks for flagging! Will investigate.
The full URL may work instead of relative as a workaround, but will check what's happening here.
Also noticing this for my docs.page site: rearch.gsconrad.com.
It's unfortunate, since I am trying to use the redirection for locales as suggested here https://use.docs.page/locales#redirecting, but doing so breaks going to my custom domain.
Will try your suggested workaround (edit: didn't work. Will just duplicate my index.mdx and sidebar for now)
My workaround for the index.mdx redirect failing was to duplicate my English index.mdx into /docs/index.mdx, followed by duplicating my English sidebar under the default sidebar: https://use.docs.page/locales#displaying-content. However, this is extremely hacky
Still same problem, any updates?