Shorten URL in Apache

I am trying to shorten URL to make it more user friendly. I have https://nextcloud/s/cyJQ2JiKEnSBo7d folder shared to drop files without login. What I’d like to have is https://nextcloud/upload or /s/upload instead. I tried to add Rewrite and Redirect rules to the Apache but with no luck as I suspect .htaccess overrides my changes. Any idea?

Well, not on the Nextcloud App Store but here is an app that can do that:

1 Like

Apache rewrite rules won’t work unless you only ever want to be able to share one thing.

This topic was automatically closed 25 days after the last reply. New replies are no longer allowed.