Same file name in different folders cause old links to break

Steps to reproduce

  • Create a folder called python and create file called classes
  • Create a index files and link to the classes file using [[classes]]. It will point to python/classes, which is the right behaviour.
  • Now create another folder called java and create a file inside java called classes.

Expected result

  • link in index should point to python/classes

Actual result

  • link in index starts pointing to java/classes


  • Operating system: Mac OS
  • Obsidian version: 0.6.7
  • Using custom CSS: No

Additional information

In my opinion, obsidian should always force complete relative file paths from vault so that issues like this will not occur. As the zen of python says, Explicit is better than implicit :smile:

1 Like

we are aware of these issues. We haven’t actually finished implementing the handling of links.
We will handle this case. I don;t think we are gonna force user to be explicit, though.


Please ignore as I just read the new release note.

Hi @WhiteNoise,

That sounds great.
Maybe just a bit of greedy request here. Would it be possible to add an option to only use explicit path? I really like it to be explicit personally.

Thank you!

we already did. File->new link format

1 Like