Page Access Denied

how to avoid showing this. instead redirected to main page?

from what i know, this happens, when you try to open the app but not the first page is
for ex not using www.my-app.com
but www.my-app.com/page12
is that right?

If yes, thats a known bug