Simple redirector if no short link exists.
The requested URI is preserved and passed to the redirect domain.
Performed as a temporary redirect (302) in case a short link is added in the future.
- Create a new directory in
user/pluginsnamedfallback-redirect. - Drop the
plugin.phpfile into that directory. - Put following in your
users/config.phpfile:
define('FALLBACK_REDIRECT_URL', 'https://example.com');
- Don't forget to configure the domain!