# Directory alias

**URL:** <https://forum.obsidian.md/t/directory-alias/34487>\
**Category:** Feature requests\
**Tags:** internal-links\
**Created:** [March 22, 2022, 8:04pm UTC](https://forum.obsidian.md/t/directory-alias/34487 "2022-03-22T20:04:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azaol](https://forum.obsidian.md/user_avatar/forum.obsidian.md/azaol/32/88340_2.png) [@Azaol](https://forum.obsidian.md/u/Azaol)\
**Post date:** [March 22, 2022, 8:04pm UTC](https://forum.obsidian.md/t/directory-alias/34487/1 "2022-03-22T20:04:05Z")

</div>

### Use case or problem

Have an ability to create directory alias within the Obsidian vault. It would allow to create shorter link to some files and distinguish different folders having the same name in a different branch of the files tree.  
Example:

- 📄 my todo list
- 📂 school
  - 📁 classmates
    - 📄 alice
    - 📄 dave

  - 📁 training notes
  - 📂 projects (_alias would be **wpjt** _)
    - 📄 awesome
    - 📄 cool

- 📂 work
  - 📂 coworkers (_alias would be **w​👤** _)
    - 📄 bob
    - 📄 carol

  - 📁 meeting notes
  - 📂 projects (_alias would be **wpjt** _)
    - 📄 amazing
    - 📄 nice

Currently, **my todo list** content looks like:

```md
- [] fix something on [[school/projects/awesome|awesome]]
- [] improve some things on [[work/projects/amazing|amazing]]
- [] contact [[coworkers/bob|Bob]] to ask the question that have to be asked
- [] meet with [[classmates/alice|Alice]] before next fun training on Wednesday

```

How it would using the aliases:

```md
- [] fix something on [[spjt/awesome|awesome]]
- [] improve some things on [[wpjt/amazing|amazing]]
- [] contact [[👔👤/bob]] to ask the question that have to be asked
- [] meet with [[🎓👤/alice]] before next fun training on Wednesday

```

### Proposed solution

As the internal link is an Obsidian feature, it could be listed in a config file within the `.obsidian` folder. An UI section could deliver a simple list of table cells with the path and the aliases (separated by a coma or something if we want several aliases, or several row if you want several aliases for the same folder).

Otherwise, a special file in each folder could do too but I’m not sure it is the way to go.

### Current workaround (optional)

The only workarounds I have so far that are not really convenient are:

- create the alias folder and a hard link for each file
  - works on OS were an admin shell is accessible, but does not (for example, non-rooted Android)
  - files looks duplicated in the UI & the graph, as well as in search results

- use a webserver to distribute content of folder using an alias name
  - no internal link, no graph, no use of all Obsidian features
  - requires an external service
