# How to get automaitc backlinks with headings and subheadings

**URL:** <https://org-roam.discourse.group/t/how-to-get-automaitc-backlinks-with-headings-and-subheadings/2511>\
**Category:** Troubleshooting\
**Created:** [March 12, 2022, 1:57pm UTC](https://org-roam.discourse.group/t/how-to-get-automaitc-backlinks-with-headings-and-subheadings/2511 "2022-03-12T13:57:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rroberts](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@rroberts](https://org-roam.discourse.group/u/rroberts)\
**Post date:** [March 12, 2022, 1:57pm UTC](https://org-roam.discourse.group/t/how-to-get-automaitc-backlinks-with-headings-and-subheadings/2511/1 "2022-03-12T13:57:59Z")

</div>

Hi everyone,

I’m new to org-roam and trying to migrate many large files over. Is it possible to get subheadings to automatically provide back-links to their respective headings without having to manually org-roam-insert-link?

My subheadings tend to always be directly relevant to the heading but manually inserting references to the major heading in each separate subheading seems like a poor way to do this.

In my org-roam file the following layout:

```auto
* Major heading
:PROPERTIES:
:ID: .....
:END:
** Subheading 1
:PROPERTIES:
:ID: .....
:END:
** Subheading 2
:PROPERTIES:
:ID: .....
:END: 

```

And get the following behavior in the graph:  
Major heading → subheading 1  
|  
v  
subheading 2

Thanks for any help
