Use Nextcloud only for Forms & change Login


we would like to use Nextcloud only for the new App “Forms”.

Is there a way to redirect all Links to a another side except /apps/forms + login (for administration).
Is there also the possibilty to change the the login url? Maybe instead of or

I tried so much with .htaccess , but i dont get it to run.

Thanks so much!

If you are using apache2, you can enable mod_rewrite (actually already needed by NC). And simply create rewrite rules -->
e.g. (not an expert, only example)

RewriteEngine  on
RewriteRule    "^index/login.php$"  "admin/login.php"
# OR
RewriteRule    "^index/login.php(.*)"  "admin/login.php$2" [R]