Skip to main content

Can we redirect to an arbitrary page when accessing a file without viewing permission?

This can be achieved with constant settings. Set "LOGIN_URL_FOR_LTD" and enter the URL to redirect to as the value.


Click [Add] in [Environment Settings] -> [Constants].

Image from Gyazo

Settings Value

Set the following values:

  • Value: URL to redirect to

Image from Gyazo

Once the settings are complete, when you access a file without viewing permission, it will be redirected to the specified URL instead of showing "NotFound". In addition, the URL of the redirect source is added as a query parameter.


Redirect source URL:

Redirect destination URL:


If you have any other questions, please contact us or check out Our Slack Community.