Feature Wiki

Information about planned and released features

Tabs

StaticURL: Shortlinks

1 Initial Problem

Permanent links allow communicating links to specific ILIAS objects. However, permanent links are cryptic and cannot be remembered.

2 Conceptual Summary

In order to be able to generate simple and understandable cutom links, the entry Shortlink should be added in the Administration » Layout and Navigation.

The shortlink feature registers a DeepLinkHandler like other components, its namespace would then be "shortlink" for example. In the administration, new shortlinks can be created as suggested, these could point to magazine objects, for example, the new UI Component "Tree(Multi)Select" could be used for this. Shortlinks in the form of the following would then be possible:

  • https://ilias.de/goto.php/shortlink/konferenz2023 resp.
  • https://ilias.de/go/shortlink/konferenz2023

The .htaccess could be used to simplify the shortlink even further or make it more explicit:

RewriteRule ^shortlink/(.*)$ goto.php/shortlink/$1 [L].

This would make the shortest possible URL:

  • https://ilias.de/shortlink/konferenz2023

3 User Interface Modifications

3.1 List of Affected Views

  • Administration > Layout und Navigation > Shortlink (new) 

3.2 User Interface Details

1. If you click on "Add Shortlink" you will be taken to the next mockup
2. If you click on "Select" you will be taken to the next mockup
3. Select a location out of the repository using the plus icon

3.3 New User Interface Concepts

The feature is implemented with existing UI components and does not introduce any new UI concepts.

3.4 Accessibility Implications

The use of existing UI components does not introduce any new implications for accessibility.

4 Additional Information

4.1 Involved Authorities

If this request is related to multiple components, please list both authorities for all related components.

4.2 Technical Aspects

  • A new component "Shortlink" will introduced

  • The Components uses the namespace "shortlink" of the ILIAS\StaticURL service and implements a corresponding ILIAS\StaticURL\Handler
  • If no configured shortlink is foulnd, the components redirects to the public repository or to the login page

4.3 Privacy

No new personal data is collected or processed as a result of the implementation of the feature. 

4.4 Security

The implementation of the feature does not introduce any new attack vectors. there are no further special security-related considerations to be made.

4.5 Contact

Person to be contacted in case of questions about the feature or for funding offers:  Lorenz, Katharina [klorenz]

4.6 Funding

Funding status and funding parties are listed in the block 'Status of Feature' in the right column of this page.

If you are interested to give funding for this feature, please get into contact with the person mentioned above as 'Contact'.

5 Discussion

2025-08-25 Kiegel, Colin [kiegel]: Interesting Proposal

  • What will be the lifetime of a shortlink? Is there a mechanism to "delete" shortlinks that are not used anymore?
  • IMO "/shortlink", "/go/shortlink" "/goto.php/shortlink" are still quite long - maybe be bold and just use 1-2 letters instead, e.g. "/s", "/go/s" "/goto.php/s"?

2025-09-09 Schmid, Fabian [fschmid]: We would not introduce a new special case with this feature, but rather use the mechanism that is also available to all other components. However, it is easy for server administrators to create a short URL as you wish using appropriate rewrite rules (see also the description above regarding rewrite rules)

6 Implementation

Feature has been implemented by {Please add related profile link of this person}

6.1 Description and Screenshots

{ Description of the final implementation and screenshots if possible. }

6.2 Test Cases

Test cases completed at {date} by {user}

  • {Test case number linked to Testrail} : {test case title}

6.3 Privacy

Information in privacy.md of component: updated at {date} by {user} | no change required

6.4 Approval

Approved at {date} by {user}.

Last edited: 16. Sep 2025, 16:47, Lorenz, Katharina [klorenz]