<blockquote>
  <p>and we understand what the purpose is of this additional <code>#entry:3962:url</code>, but is there a way to disable this?</p>
</blockquote>

<p>Currently not.  You'd need to write a Craft/Redactor plugin that used the <a href="https://craftcms.com/docs/plugins/hooks-reference#addRichTextLinkOptions" rel="nofollow noreferrer">addRichTextLinkOptions</a> hook to do something similar to what the default "Link to an Entry" does, but with your own custom logic.</p>

CC BY-SA 3.0
2017-11-09T17:01:00.460Z
2017-11-09T17:01:00.460Z
Brad Bell
<p>When we're adding a "link > link to an entry" to a rich text field, this will result in a link to <code>https://www.site.com/page#entry:3962:url</code> and we understand what the purpose is of this additional <code>#entry:3962:url</code>, but is there a way to disable this?</p>

<p>The multi-domain setup we created is not compatible with this feature, so it will create links that are broken. The easiest fix for our customer is to disable this feature all together. Is that possible and how?</p>

CC BY-SA 3.0
2017-11-09T09:04:27.997Z
You can disable the `link` function in your redactor by removing the option... In your backend field settings you'll have a field configuration in your `rich text field` and you can create your own redactor with custom options. So you can copy the options from craft and remove the `link`
Robin Schambach
CC BY-SA 3.0
2017-11-09T10:36:13.040Z
@RobinSchambach Yeah, but we still want the ability to easily add links to entries, just not with the `#entry:3962:url` part.
Youniteus
<entries><url><field><redactor><richtext>
Disable "dynamic links" in rich text fields
# Disable "dynamic links" in rich text fields

(Asked by: username_0 on 2017-11-09)

When we're adding a "link > link to an entry" to a rich text field, this will result in a link to `https://www.site.com/page#entry:3962:url` and we understand what the purpose is of this additional `#entry:3962:url`, but is there a way to disable this?

The multi-domain setup we created is not compatible with this feature, so it will create links that are broken. The easiest fix for our customer is to disable this feature all together. Is that possible and how?

**Tags:** entries, url, field, redactor, richtext

> **Comments:**
> **username_1**: You can disable the `link` function in your redactor by removing the option... In your backend field settings you'll have a field configuration in your `rich text field` and you can create your own redactor with custom options. So you can copy the options from craft and remove the `link`  
> **username_0**: @RobinSchambach Yeah, but we still want the ability to easily add links to entries, just not with the `#entry:3962:url` part.  

---

## 1 answers

### Answer by username_2 on 2017-11-09. Score: 1 | Accepted answer

> and we understand what the purpose is of this additional `#entry:3962:url`, but is there a way to disable this?

Currently not. You'd need to write a Craft/Redactor plugin that used the [addRichTextLinkOptions](https://craftcms.com/docs/plugins/hooks-reference#addRichTextLinkOptions) hook to do something similar to what the default "Link to an Entry" does, but with your own custom logic.


---

