Add a small arrow after links in your content that point to other websites, so readers know they're leaving.
/* Replace example.com with your own domain. */
.entry-content a[href^="http"]:not([href*="example.com"])::after,
.wp-block-post-content a[href^="http"]:not([href*="example.com"])::after {
content: "\2197"; /* ↗ */
display: inline-block;
margin-left: 0.2em;
font-size: 0.8em;
text-decoration: none;
}
A small arrow on outgoing links sets expectations: readers know before they click that they’re going to another site. It’s a common pattern in documentation and long-form articles.
The selector matches links inside post content whose address starts with “http” and doesn’t contain your domain, so internal links and anchor links are left alone. ::after adds the north-east arrow after the link text. display: inline-block stops the link underline running under the arrow.
.entry-content is the usual content wrapper in classic themes and .wp-block-post-content in block themes.
example.com with your domain, without “www”, so both versions match.:not(:has(img)) to the selector to skip them.Add an external link to a post. It should show a small ↗ after the text; internal links shouldn’t.