On This Page
Open All External Links in New Tab
Overview
Readers leaving your site through citations, partner blogs, or research papers often expect your article tab to stay put while references open beside it. Manually adding target=”_blank” and safe rel values across hundreds of links is fragile. This module filters post content and approved comment bodies so outbound links—detected relative to your site’s canonical host—gain new-tab behavior and hardened rel attributes without touching the database HTML on every save (behavior depends on filter timing; cached output still reflects results).
Pair with internal linking strategy: only true external hosts should receive these attributes; subdomains and alternate domains need testing per multisite and CDN mapping.

Features
Host-Aware Classification
Target and rel Injection
Content and Comments
Idempotent Filters
How It Works
Enable the Module
Audit Subdomains and Staging
Load Sample Posts
Clear Page Cache
Monitor Analytics

Installation & Activation
Install WP PowerSuite
Enable Module
Coordinate with “nofollow all external” SEO plugins
Test Comments Moderation

Use Cases
- LinkDigestsWeekly link digests pointing to dozens of sources.
- ReadingListsCourseware with mandatory reading lists off-domain.
- ResourceLinksCommunity Q&A threads where answers hyperlink tools.
Frequently Asked Questions
What about subdomains or staging?
Comparison logic dictates classification—verify Maps API hosts, AMP CDNs, and headless front domains.
Affiliate links need follow?
If partnerships require follow links, exclude those hosts via Advanced Settings or alternate workflow.
Does it change database content?
Often filters on the fly; exports of raw post_content might still lack attributes until viewed through filters.
Block editor footnotes or embeds?
Test patterns embedding iframes vs anchors—only true targets qualify.
REST or GraphQL consumers?
Decoupled clients may bypass filters—duplicate policy in frontend if required.
Troubleshooting
- Some links unchangedLinks added via JavaScript after load, or lazy-loaded partials, bypass PHP filters—adjust theme architecture.
- Internal links wrongly externalMixed-content http links on https pages or CDN aliases may mismatch—normalize URLs.
- rel overwrites break sponsor agreementsCustomize allowed rel tokens if module exposes hooks; document with revenue team.
- Cache stalenessPurge at HTML edge; some hosts cache vary headers—confirm logged-out view.
