How to redirect own shortlinks?

Hy There,
some short help please :slight_smile:
I want to create a small custom link like https://mydomain.com/getit for the https://mydomain.com/s/iP4DdiepeAtxasf

For the Redirection i’ve tried to edit the /var/www/nextcloud.htacces with some Rediction Rule, also my Webmin Apache Webserver config “Edit Directives” for *80 : /etc/apache2/sites-available/mydomain.com.conf

RewriteEngine On
RewriteRule ^(.*)$ https://%{HTTP_HOST} [R=301,L]
Alias /getit /s/iP4DdiepeAtxasf
RedirectPermanent https://mydomain/getit https://mydomain.com/s/FY8AnoRYtZtLSrL

But it doesn’t matter, everytime open the https://mydomain.com/getit link, i get the Nextcloud Login-page and not the specified Nextcloud-Folder which is shared to everyone.

Someone help me pls :slight_smile:

Regards

I’dtry with the external sites app