How to get Nextcloud to generate pretty URLs as share links?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): 29.0.4
Operating system and version (eg, Ubuntu 24.04): 24.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.25
PHP version (eg, 8.3): 8.2

The issue you are facing:

I would like to be able to generate pretty URLs as share links, i.e. without the /index.php part. However, despite pretty URLs working, i.e. upon entering them in the browser’s address field, the generated share links are not “ready to use” as the still contain /index.php. Can one actually achieve the auto generation of pretty URLs?

Steps to replicate it:

  1. Follow the steps described in Installation on Linux > Pretty URLs.
  2. Observe that share links work without /index.php in the URL.
  3. Create a new share link.

Expected behavior:

  • The new share link that is copied to the clipboard should not contain /index.php for quick pasting.

Actual behavior:

  • The new share link still does contain /index.php.

Somehow Nextcloud seems to have “learned” to create pretty URLs, possibly due to some rebooting/restarting/reloading on the server.

Sorry to bother anyone…

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