<p>I assume that <code>subHeading</code> is a <code>plain text</code> field. 
Just a guess, are you inserting a string that can be interpreted as a relative path on your website?</p>

<p>Ex. <code>google.com</code> vs <code>https://www.google.com</code></p>

<p>The first will lead to yoursite.com/google.com, the latter should work fine.</p>

CC BY-SA 3.0
2017-10-09T11:58:54.417Z
2017-10-09T11:58:54.417Z
Alessio Breviglieri
<p>If I want to link another website, I am doing this with a normal text field.</p>

<pre><code>&lt;a href="{{ entry.subHeading }}" target="_blank"&gt;{{ entry.subHeading }}&lt;/a&gt;
</code></pre>

<p><strong><em>subHeading</strong> is the link.</em></p>

<p>If I now click on the text on my website, I get something like this: <code>www.example.com/https://www.google.ch</code></p>

<p>How can I get my own website text out of the link?</p>

<field><link>
links to another website without my own url
# links to another website without my own url

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

If I want to link another website, I am doing this with a normal text field.
{{ entry.subHeading }}

subHeading is the link.
If I now click on the text on my website, I get something like this: www.example.com/https://www.google.ch
How can I get my own website text out of the link?

**Tags:** field, link


---

## 1 answers

### Answer by username_1 on 2017-10-09. Score: 2 | Accepted answer

I assume that `subHeading` is a `plain text` field.
Just a guess, are you inserting a string that can be interpreted as a relative path on your website?

Ex. `google.com` vs `https://www.google.com`

The first will lead to yoursite.com/google.com, the latter should work fine.


---

