Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Persistent Links

ivan-lednevivan-lednev7k downloads

Automatically repair internal links to blocks and headings when moving them between files.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Suppose you have a file with backlinks to some of its headings or blocks. Normally if you move these linked-to headings and blocks, the links are going to break. The plugin tries to automatically update such links.

How to use it

Once you've enabled the plugin, it will automatically update links when you cut and paste headings and blocks. Here is a demo:

If a file got updated in some other way, and you've noticed some broken links, you can use the "Repair links in file" command to fix them. The plugin will search through the metadata cache and try to find a file that contains the block or heading in the link.

Limitations

  • Partially relies on internal Obsidian APIs, so it may break. If you noticed that, please create an issue
  • Automatically works only with cut & paste events
  • Only works with Wiki links

If you'd like the plugin to support other workflows, don't hesitate to create an issue: https://github.com/ivan-lednev/obsidian-persistent-links/issues.

Contribution

If you noticed a bug or thought of some way to improve the plugin, feel free to create an issue: https://github.com/ivan-lednev/obsidian-persistent-links/issues.

Pull-requests are also welcome! If you want to contribute but don't know where to start, you can create an issue or write me an email: [email protected].

You can also support me by buying me a coffee:

66%
HealthFair
ReviewSatisfactory
About
Keep wiki links to headings and blocks intact when you move or cut-and-paste content by automatically updating their targets. Repair broken wiki links in a file by scanning the metadata cache to find relocated headings or blocks; updates run automatically on cut/paste and can be triggered manually.
LinksAutomationEditing
Details
Current version
0.2.0
Last updated
3 years ago
Created
3 years ago
Updates
2 releases
Downloads
7k
Compatible with
Obsidian 0.15.0+
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
ivan-lednevivan-lednev
github.com/ivan-lednev
GitHubivan-lednev
  1. Community
  2. Plugins
  3. Links
  4. Persistent Links

Related plugins

Advanced URI

Control everything with URI.

Waypoint

Easily generate dynamic MOCs in your folder notes using waypoints. Enables folders to show up in the graph view and removes the need for messy tags!

Auto Link Title

Automatically fetches the titles of links from the web.

Paste URL into selection

Paste URL "into" selected text.

Note Refactor

Extract note content into new notes and split notes.

Link Embed

Convert URLs in your notes into embeded previews.

MetaEdit

Manage your metadata.

PodNotes

Write notes on podcasts with ease.

Note Linker

Automatically find and create new links between notes.

Filename Heading Sync

Keep the filename with the first heading of a file in sync.