# Feature Request: Persistent Alias-Based URLs in Obsidian Publish

**URL:** <https://forum.obsidian.md/t/feature-request-persistent-alias-based-urls-in-obsidian-publish/92068>\
**Category:** Feature archive\
**Tags:** publish\
**Created:** [November 20, 2024, 8:12pm UTC](https://forum.obsidian.md/t/feature-request-persistent-alias-based-urls-in-obsidian-publish/92068 "2024-11-20T20:12:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beto](https://forum.obsidian.md/user_avatar/forum.obsidian.md/beto/32/79302_2.png) [@beto](https://forum.obsidian.md/u/beto)\
**Post date:** [November 20, 2024, 8:12pm UTC](https://forum.obsidian.md/t/feature-request-persistent-alias-based-urls-in-obsidian-publish/92068/1 "2024-11-20T20:12:05Z")

</div>

### Use Case or Problem

In Obsidian Publish, the alias functionality allows users to access pages via simplified URLs, such as `www.beto.group/about`. While this provides an intuitive way to navigate to pages, the browser’s address bar reverts to displaying the full file path upon page load, such as `https://www.beto.group/888/PROJECTS/888/_OPERATION/PUBLIC/ABOUT`.

This behavior undermines the purpose of aliases, as the full file path is not user-friendly, makes URLs harder to share, and detracts from the professional appearance of published sites. Users expect the alias-based URL to remain consistent in the address bar for a better user experience.

### Proposed Solution

Introduce a feature within the Obsidian Publish settings that includes a toggle to enable persistent alias-based URLs. When this setting is enabled, the URL displayed in the address bar would remain as the alias (e.g., `www.beto.group/about`) throughout the user’s interaction with the page, regardless of the file’s actual location or file path in the vault.

This solution would ensure that the user-defined aliases are reflected in the URLs consistently, enhancing readability, usability, and shareability without additional complexity for users.

### Current Workaround

Currently, there is no workaround for maintaining persistent alias-based URLs. Users can only use aliases to navigate to pages, but the browser reverts to displaying the full file path once the page is loaded.

### Related Feature Requests

The Obsidian Forum previously discussed [the ability to specify permalinks in frontmatter](https://forum.obsidian.md/t/ability-to-specify-permalinks-in-frontmatter/8989/25). This feature introduced aliases to simplify navigation and create user-friendly, shareable URLs. However, aliases currently revert to full file paths upon page load, limiting their effectiveness.

### Conclusion

Allowing persistent alias-based URLs in Obsidian Publish would fully realize the potential of aliases, improving both usability and professionalism for content creators and their audiences.

Best regards,  
b.

---

<div class="post-metadata">

**Author:** ![beto](https://forum.obsidian.md/user_avatar/forum.obsidian.md/beto/32/79302_2.png) [@beto](https://forum.obsidian.md/u/beto)\
**Post date:** [November 20, 2024, 9:38pm UTC](https://forum.obsidian.md/t/feature-request-persistent-alias-based-urls-in-obsidian-publish/92068/2 "2024-11-20T21:38:55Z")

</div>

Nevermind, this feature already exists—my bad. hehe 🤭

I found [this guide](https://joschua.io/posts/2023/10/07/stable-publish-urls/) explaining how to achieve stable publish URLs. Huge thanks to the Obsidian Team for enabling this functionality!

🫡b.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [December 18, 2024, 9:39pm UTC](https://forum.obsidian.md/t/feature-request-persistent-alias-based-urls-in-obsidian-publish/92068/3 "2024-12-18T21:39:29Z")

</div>

Closed on December 18, 2024, 9:39pm UTC

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