# Links to other sites

> How Memberfy handles links in chat messages and bell notifications. A community link opens inside the app; a link to another site goes through a warning page, with Continue, Go back and Report link. One report makes the link suspicious, two different people remove it, the owners are notified and the team reviews it in Reported links (restore, confirm the removal, block or trust the whole site).

Addresses written in [chat messages](/membros/mensagens) and in [bell](/membros/mensagens#notifications) notifications become **clickable links**. A link to the community itself opens inside the app, like any other screen. A link to **another site** first goes through a warning page, which shows where it leads and lets the person report it. With reports, the community takes down a scam link without depending on someone from the team being online.

It applies to every role and every plan, with nothing to turn on.

## What it's for

| Situation | What happens |
|---|---|
| Someone sends the link to tomorrow's lesson in the chat | It opens directly, inside the app |
| Someone sends the link to a blog article | The warning page shows the site and the full address; **Continue** opens the article |
| A message arrives with a "prize" that asks for a payment | Whoever gets it taps **Report link**; with a second person, the link stops opening for everyone |
| The team sees that a whole site is a scam | **Block the whole site**: none of its links open in the community anymore |
| A trusted site was reported by mistake | **Restore link** and, if needed, **Trust this site** |

## The warning page

When clicking a link to another site, the person sees, before leaving the community:

- *"You are leaving «community»"* and *"This link goes to"* the site's name;
- the **Full address**, to check that it really goes where they want;
- three tips: *"The community doesn't control this site: continue at your own risk."*, *"Open it only if you trust the person who sent it."* and *"Never enter a password, verification code or payment details on a site you don't know."*;
- the buttons **Continue** (opens the site), **Go back** and **Report link**.

The warning changes with the link's status:

| Status | What the person sees |
|---|---|
| **Allowed** | The regular warning, with **Continue** |
| **Suspicious** (already reported once) | The alert *"This link has been reported"*, and the button becomes **Continue anyway** |
| **Another link from the same site was removed** | The alert *"Another link from this site was removed for safety"*, with **Continue anyway** |
| **Removed** | *"This link was removed for safety"*: the link no longer opens from here. If the team blocked the site, the message says the community team blocked the site |

## Reporting a link

1. Click the link in the message or the notification.
2. On the warning page, **Report link**.
3. Choose the **Reason** if you want (*Scam or phishing*, *Spam*, *Inappropriate content* or *Other reason*; the reason is optional) and click **Report**.

The page confirms *"Report sent. Thanks for letting us know."*; whoever already reported that link sees *"You already reported this link."*. Each person reports a link once.

- **One report** makes the link **suspicious**: it still opens, with the stronger alert.
- **Reports from two different people** remove the link: it stops opening in the community, for everyone. A team member who reports counts as one person.
- Reporting punishes no one: whoever sent the link is neither banned nor notified.

A link's status applies **only in this community**: the same address in another community follows the reports there.

## When a link is removed

As soon as reports remove a link, the community's **owners** get:

- a bell notification, which opens the review of that link;
- the e-mail *"A link was removed for safety in «community»"*, with the site, the number of reports and the **Review the link** button. In the e-mail, the address comes disabled (not clickable), so no one opens the scam by accident.

From then on, **other links from the same site** open with the alert *"Another link from this site was removed for safety"*. The alert goes away when the team restores the removed link.

## For the team: Reported links

*Role: owner, admin or moderator (finance doesn't review links).*

The review is in **Administration › Reported links**, in the **People** group of the menu. The screen has two tabs.

**Links.** The reported links, with the filters **Reported**, **Suspicious**, **Removed** and **All**. Each row shows the site, the address, how many reports and the status. When opening a link, the team sees the **Address**, the **Reports** (who reported, when and the reason) and the dates, and decides:

| Button | What it does |
|---|---|
| **Restore link** | The link opens again with the regular warning. The earlier reports stop counting, and people who already reported it can't report it again: to remove it again, two new people are needed |
| **Confirm removal** | The link stays removed, now as the team's decision. It can be restored later |

Below, the **Site** block says whether there is a rule for the link's site and offers, to the owner and the admin:

| Button | What it does |
|---|---|
| **Block the whole site** | No link from that site opens in the community anymore, not even the ones nobody reported. Whoever clicks sees that the team blocked the site |
| **Trust this site** | Reports no longer remove the site's links: they stay suspicious for the team to review, and the ones taken down only by reports open again with the warning. The team can still confirm the removal of a link |

**Sites.** The blocked and trusted sites, with the filters **All**, **Blocked** and **Trusted**. **Remove rule** returns the site to the report rule; a link whose removal the team confirmed stays removed. Only the owner and the admin change a site's rule.

### The reach of a site rule

A site rule also applies to subdomains:

| Rule | Applies to | Example |
|---|---|---|
| **Block the whole site** | The link's main domain and all of its subdomains | Blocking from `login.oferta-exemplo.com.br` blocks `oferta-exemplo.com.br`, `login.oferta-exemplo.com.br` and any other `*.oferta-exemplo.com.br` |
| **Trust this site** | The link's address and its subdomains, never the domain above it | Trusting `docs.parceiro.com.br` trusts `docs.parceiro.com.br` and `v2.docs.parceiro.com.br`, but not `loja.parceiro.com.br` |

On shared hosting sites, the block stays on each customer's address (`fulano.github.io`), never on the whole service. With rules at different levels (a blocked domain and a trusted subdomain of it), the rule of the address closest to the link wins. Likewise, a removed link puts the alert *"Another link from this site was removed for safety"* on the links of its whole domain.

The screen shows the reach: the **Site** block and the **Sites** tab say which address the rule applies to (*"Applies to … and its subdomains."*, or *"Applies to … only."* when the address has no subdomains, like an IP), and the confirmations of **Block the whole site** and **Trust this site** warn that the rule reaches the subdomains. When the rule deciding a link sits on a domain above it, the warning page shows the team the **Site rule** it comes from.

Blocking a site is always the team's decision: member reports remove links, never a whole site.

## Common errors and how to fix them

| Situation | What to do |
|---|---|
| A link to the community itself opened the warning page | The link points to another address (another domain or subdomain). Use the community's address |
| *"You already reported this link."* | Each person reports a link once; your report already counts |
| A trusted link was removed | Someone from the team opens **Reported links**, picks the link and clicks **Restore link**. For a partner site, **Trust this site** |
| The moderator doesn't see **Block the whole site** | Blocking and trusting a site is for the owner and the admin |
| Finance doesn't see **Reported links** | The review is for the owner, the admin and the moderator |

## Frequently asked questions

**Does Memberfy open the site to check whether it's a scam?**
No. Memberfy never accesses the link's site: the status comes from the reports and the team's decisions.

**Does whoever sent the link find out about the report?**
No. No one is told who reported, and whoever sent the link is not punished.

**Do links in posts and comments also go through the warning page?**
No. Today, the warning page applies to links in chat messages and bell notifications.

**Does the member see how many reports a link has?**
No. The number of reports and who reported show only to the team, in **Reported links**.

## Through the assistant (MCP)

The assistant checks a link's status and reports it, for any role; the team reviews reported links, restores, confirms the removal and handles site rules, with confirmation before taking down or allowing a link or a site. See [Tools › Members › Links to other sites](/mcp/ferramentas-membros#links-to-other-sites) and [recipe 139](/mcp/receitas#139-review-the-reported-links).

**Ask like this:** *"Are there any reported links in the community?"* · *"Is this link safe? https://offer-example.com/prize"* · *"Block the site offer-example.com."*

## In the API

The routes are under `/api/links`, always with the `X-CommunityId`:

- [`GET /api/links/safety?url=`](/api/referencia/link-safety/get-links-safety) (any member): the link's status in this community (`ok`, `suspicious` or `removed`), whether you already reported it and whether another link from the site was removed (`hostFlagged`) or the site is blocked (`hostBlocked`).
- [`POST /api/links/reports`](/api/referencia/link-safety/post-links-reports) (any member): reports, with `url` and an optional `reason` (`phishing`, `spam`, `inappropriate` or `other`).
- Team (owner, admin and moderator): [`GET /api/links`](/api/referencia/link-safety/get-links) (with `status`), [`GET /api/links/{id}`](/api/referencia/link-safety/get-links-by-id) (with the reports), [`POST /api/links/{id}/restore`](/api/referencia/link-safety/post-links-by-id-restore), [`POST /api/links/{id}/confirm-removal`](/api/referencia/link-safety/post-links-by-id-confirm-removal) and [`GET /api/links/sites`](/api/referencia/link-safety/get-links-sites).
- Owner and admin: [`POST /api/links/{id}/block-site`](/api/referencia/link-safety/post-links-by-id-block-site), [`POST /api/links/{id}/trust-site`](/api/referencia/link-safety/post-links-by-id-trust-site) and [`DELETE /api/links/sites/{id}`](/api/referencia/link-safety/delete-links-sites-by-id).

See the [API reference](/api/introducao).

## Related

- [Messages](/membros/mensagens)
- [Moderation](/membros/moderacao)
- [Roles and permissions](/conceitos/papeis-e-permissoes)
- [Security](/conceitos/seguranca)
