<p>Have you thought about running something like Screaming Frog <a href="https://www.screamingfrog.co.uk/" rel="nofollow noreferrer">https://www.screamingfrog.co.uk/</a></p>

CC BY-SA 4.0
2019-01-08T21:49:13.780Z
2019-01-08T21:49:13.780Z
Roi Agneta
<p>I'm retiring a section of my website and want to remove all existing internal links to this section. Is there an existing way to find any links to each entry in that section?</p>

<p>These links are all in Redactor fields (eg. inserted via the toolbar), and these fields may have different names etc across multiple sections.</p>

<p>I've tried running a regex search across a Craft database dump, looking for a pattern of <code>{entry:[0-9]+:url}</code> which shows me all the places that link to other entries, but this alone only gives me the entry IDs so I'll have to write further code to look up those IDs and work out which ones are in the section I'm removing.</p>

<p>Is there an easier way to do this, or is it going to be a semi-manual job?</p>

<entry>
How can I find entries that link to a given entry?
# How can I find entries that link to a given entry?

(Asked by: username_0 on 2019-01-08)

I'm retiring a section of my website and want to remove all existing internal links to this section. Is there an existing way to find any links to each entry in that section?

These links are all in Redactor fields (eg. inserted via the toolbar), and these fields may have different names etc across multiple sections.

I've tried running a regex search across a Craft database dump, looking for a pattern of `{entry:[0-9]+:url}` which shows me all the places that link to other entries, but this alone only gives me the entry IDs so I'll have to write further code to look up those IDs and work out which ones are in the section I'm removing.

Is there an easier way to do this, or is it going to be a semi-manual job?

**Tags:** entry

---

## 1 answers

### Answer by username_1 on 2019-01-08. Score: 1

Have you thought about running something like Screaming Frog <https://www.screamingfrog.co.uk/>


---

