WP Manifestindependent plugin directory
manifest / utilities / ocasio-external-links-new-tab

Ocasio External Links New Tab

Automatically opens outbound external links in a new browser tab with secure rel="noopener noreferrer" attributes.

by Kevin Ocasio · github.com/kevinocasio/ocasio-external-links-new-tab · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/kevinocasio/ocasio-external-links-new-tab/archive/refs/heads/main.zip

Lightweight WordPress plugin that automatically opens outbound external links in a new browser tab with secure rel="noopener noreferrer" attributes.

Overview

When visitors click external links on your website, you don't want them navigating away permanently. Ocasio External Links New Tab scans your post and page content dynamically, detecting outbound links and adding target="_blank" with secure rel="noopener noreferrer" attributes.

Features

  • Automatic Link Detection: Parses outbound external links and forces them to open in new tabs.
  • Internal Link Protection: Keeps your own site links opening in the same tab.
  • Security Hardened: Adds rel="noopener noreferrer" to eliminate reverse tab hijacking vulnerabilities.
  • Zero Front-End Assets: Operates entirely in PHP with 0 bytes of extra CSS or JS loaded on public pages.
  • Instant Dashboard Toggle: Manage active status directly under Ocasio Plugins -> Dashboard.

Installation

  1. Download ocasio-external-links-new-tab.zip from Releases.
  2. In your WordPress admin dashboard, navigate to Plugins -> Add New Plugin -> Upload Plugin.
  3. Choose the downloaded .zip file and click Install Now.
  4. Click Activate Plugin.
  5. Check your settings under Ocasio Plugins -> Dashboard.

Author & Support