A cloaked link shows “refused to connect”
“Refused to connect” is the browser’s message when a website doesn’t allow itself to be shown inside another site’s page. It sends the header X-Frame-Options or a frame-ancestors rule. Cloaking shows the destination inside your short link’s page, so these websites can’t be cloaked.
What Nahnu Links does about it#
Nahnu Links checks each cloaked destination before showing it. If the website forbids frames, visitors are redirected to it as normal instead, and never see the error. The editor also warns you: This link can’t be cloaked.
If you still see the error#
| Cause | What to do |
|---|---|
| The website changed its setting in the last few minutes | Wait. It’s noticed within about 10 minutes. |
| The edge script is out of date | Update it. See The edge script is out of date. |
| The page you land on is fine, but a page you click to inside it isn’t | Some sites only forbid frames on certain pages, like login or checkout. Link to that page without cloaking. |
| The website couldn’t be checked (it was slow or down) | The link is cloaked as you chose, and checked again a minute later. |
Allow cloaking on your own site#
If the destination is your own site, allow your short domain to show it:
Content-Security-Policy: frame-ancestors 'self' https://go.yourbrand.com Remove any X-Frame-Options: DENY or SAMEORIGIN header too. See Link cloaking.
Sites you don’t own#
Only the website’s owner can allow framing. For those links, turn cloaking off; the link works as a normal redirect.


