Aside from the main configuration page, it is also possible to edit and create entries for a certain Confluence page directly from that page.
Prerequisite: Open in-page editing dialog
To get started, navigate to a Confluence page, then click the ... overflow menu in the top-right corner, then choose Redirects & Vanity URLs. The editing dialog should appear. Loading might take a few seconds. Now, you can edit existing entries or create new ones.
Creating a new entry
As the last row in the table, you will find a couple of empty text boxes, each corresponding to a column.
The fields are the same as on the main configuration page, except that the long URL is always the page you are currently on:
- Shortened URL: Required, this is going to be part of the shortened URL after /go/. Valid symbols are lowercase and uppercase characters, numbers and - . _ ~ ! $ ' ( ) * / . The minimum length is 1 character and they must be unique.
- Anchor: Optional, the URL fragment that should be attached to the long URL after redirection. This can be useful to direct the user to a heading or section within the page. The target page must have an HTML element with that ID to work, which can be achieved in Confluence by using the anchor macro.
- Note: Optional, a user-defined note. This holds no significance for the app, but could be handy to annotate the mapping.
Once you've filled out the fields, don't forget to click Create Entry to create a new entry.
Editing an existing entry
When you want to edit an entry, click Edit in the actions column of the entry you'd like to edit. The fields will turn into text input boxes. There, you can modify the details you'd like to change.
When you're done, don't forget to click Save Entry to make the changes permanent. You can also Cancel the operation.