Smart External Link Manager
Advanced external link management with automatic detection, icon insertion, link behavior customization, and comprehensive link processing.
by Krafty Sprouts Media, LLC · github.com/krafty-sprouts-media-llc/smart-external-link-manager · website
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/krafty-sprouts-media-llc/smart-external-link-manager/archive/refs/heads/main.zipReadme
Smart External Link Manager
Version: 2.2.3
Author: Krafty Sprouts Media, LLC
Requires at least: WordPress 5.0
Tested up to: WordPress 6.8
Requires PHP: 7.4 or higher
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Description
Smart External Link Manager is a powerful WordPress plugin that automatically detects and manages external links throughout your website. It provides comprehensive control over how external links behave, appear, and function, improving both user experience and SEO.
Key Features
- Automatic External Link Detection: Intelligently identifies external links with domain comparison and www. normalization
- Link Behavior Customization:
- Open links in new tab (target="_blank")
- Add nofollow attribute for SEO
- Add noopener attribute for security
- Custom CSS class assignment
- Icon Integration:
- SVG icons (default, multiple styles available)
- Font Awesome compatibility
- Custom icon support (HTML/SVG)
- Flexible positioning (before/after link text)
- Dashicons support (deprecated)
- Domain Management:
- Exclude specific domains from processing
- Wildcard subdomain exclusion
- CSS class-based link exclusion
- Post Type Control: Enable/disable processing for specific post types
- Processing Modes: Choose between server-side (PHP) or client-side (JavaScript) processing
- Custom Styling: Add custom CSS for external links
- Admin Interface: Modern, user-friendly settings page with tabbed navigation
Installation
Manual Installation
- Download the plugin zip file
- Log in to your WordPress admin panel
- Navigate to Plugins > Add New
- Click Upload Plugin
- Choose the zip file and click Install Now
- Activate the plugin
Via FTP
- Extract the plugin zip file
- Upload the
smart-external-link-managerfolder to/wp-content/plugins/ - Log in to your WordPress admin panel
- Navigate to Plugins
- Find "Smart External Link Manager" and click Activate
Configuration
After activation, configure the plugin:
- Go to Settings > Smart External Link Manager in your WordPress admin
- Configure the following options:
General Settings
- Enable Plugin: Toggle the plugin on/off
- Processing Mode: Choose between Server-Side (PHP) for better SEO or Client-Side (JavaScript) for cache compatibility
- Post Types: Select which post types should process external links
Link Behavior
- Open in new tab: Automatically add
target="_blank"to external links - Add nofollow attribute: Add
rel="nofollow"for SEO purposes - Add noopener attribute: Add
rel="noopener"for security
Icon Settings
- Enable Icons: Enable/disable icon display
- Icon Type: Choose between SVG (default), Font Awesome, Custom, or Dashicons (deprecated)
- SVG Icon File: Select from multiple SVG icon styles (when SVG type is selected)
- Icon Class: Specify the CSS class for the icon
- Icon Position: Place icon before or after link text
- Custom Icon HTML: Enter custom HTML/SVG for custom icon type
Domain Exclusions
- Add domains to exclude from external link processing
- Use wildcards for subdomain exclusion
Custom CSS
- Add custom styles for external links and icons
Usage
Once configured, the plugin automatically processes external links in:
- Post content
- Page content
- Post excerpts
- Widget text
External links will be automatically modified based on your settings without any additional code or shortcodes needed.
Excluding Links
Method 1: CSS Class Exclusion
Add the class no-external to any link you want to exclude:
<a href="https://example.com" class="no-external">Excluded Link</a>
Method 2: Domain Exclusion
Add domains to the exclusion list in the plugin settings.
Customization
Custom CSS Classes
External links automatically receive the class selm-external-link for custom styling:
.selm-external-link {
color: #0066cc;
text-decoration: underline;
}
Icon Styling
Icons receive the class selm-external-icon:
.selm-external-icon {
margin-left: 5px;
opacity: 0.7;
}
File Structure
smart-external-link-manager/
├── assets/
│ ├── css/ # CSS files
│ ├── js/ # JavaScript files
│ └── images/ # Image files
├── includes/
│ ├── class-admin.php # Admin interface
│ ├── class-core.php # Core functionality
│ └── class-frontend.php # Frontend processing
├── CHANGELOG.md # Version history
├── README.md # This file
├── readme.txt # WordPress.org readme
└── smart-external-link-manager.php # Main plugin file
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- MySQL 5.6 or higher (or MariaDB equivalent)
Frequently Asked Questions
Does this plugin work with page builders?
Yes, the plugin processes links in content regardless of how they were added, including page builders like Elementor, Beaver Builder, etc.
Will this slow down my site?
No, the plugin uses efficient server-side processing and only runs on content that's being displayed. Performance impact is minimal.
Can I exclude specific links?
Yes, you can exclude links by adding the no-external CSS class or by adding domains to the exclusion list.
Does it work with caching plugins?
Yes! The plugin offers two processing modes:
- Server-Side (PHP): Processes links before content is cached (recommended for SEO)
- Client-Side (JavaScript): Processes links after page load, perfect for heavily cached sites
You can choose the mode that works best for your setup.
Support
For support, feature requests, or bug reports, please visit:
- Plugin URI: https://kraftysprouts.com/smart-external-link-manager
- Author URI: https://kraftysprouts.com
Changelog
See CHANGELOG.md for a complete list of changes.
Latest Version: 2.2.3 (November 24, 2025)
- Fixed WordPress.org Plugin Check compliance issues
- Enhanced security with proper escaping and safe redirects
- Updated to WordPress 6.8 compatibility
Credits
Developed by Krafty Sprouts Media, LLC
License
This plugin is licensed under the GPL v2 or later.
Copyright (C) 2025 Krafty Sprouts Media, LLC
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.