Support the Developer
If this plugin has helped you, consider supporting further development. Your contribution directly funds
new features, improvements and ongoing maintenance.
Every contribution helps fuel new features, better documentation and long‑term support.
Thank you for being part of our mission to simplify complexity.
WSC External Link Cleaner – Documentation
Customer Documentation
Overview
WSC External Link Cleaner is a WordPress plugin that removes external hyperlinks from your
posts and pages while keeping the text content intact. It’s ideal for cleaning up imported content or removing
unwanted external references without breaking the flow of your text.
Key Features
- ✅ Removes external links while preserving visible text
- ✅ Smart citation handling (
[1],[2], etc.) - ✅ Keeps internal links untouched
- ✅ Works via AJAX (no full page reload)
- ✅ Simple, focused interface
- ✅ Detailed processing reports
Requirements
- WordPress: 5.0 or higher
- PHP: 7.4 or higher
- Classic Editor plugin: required (must be installed and active)
Installation
- Download the plugin files.
- Upload the folder to
/wp-content/plugins/wsc-external-link-cleaner/. - Activate the plugin through the WordPress admin.
- Install and activate the Classic Editor plugin if not already installed.
How to Use
Step 1: Edit Your Post/Page
- Go to Posts → Edit or Pages → Edit.
- Make sure you’re using the Classic Editor (not the Block Editor).
Step 2: Locate the WSC Widget
- In the right sidebar, look for the “WSC” meta box.
- This box contains the external link cleaning controls.
Step 3: Choose Citation Handling
- Remove citations completely – Deletes citation numbers/text entirely.
- Keep citation text – Removes the link but keeps the citation number in brackets.
Step 4: Clean External Links
- Click the “Clean External URLs” button.
- Wait for processing (usually 1–2 seconds).
- Review the success message to see what was removed or converted.
Examples
Before Cleaning:
This is important information from [external source](https://example.com)
and research shows [1](https://research.com) that this works.
After Cleaning (Remove citations completely):
This is important information from external source
and research shows that this works.
After Cleaning (Keep citation text):
This is important information from external source
and research shows [1] that this works.
What Gets Removed
- ✅ External
http://andhttps://links - ✅ Citation links (e.g.
[1],[2],(1),(2)) - ✅ Reference-style links (e.g.
ref1,note1) when configured
What Stays Untouched
- ✅ Internal links (same domain)
- ✅ Relative links (e.g.
/page,/category) - ✅ Anchor links (e.g.
#section) - ✅ Email links (
mailto:) - ✅ Phone links (
tel:)
Troubleshooting
“Classic Editor Required” Error
Problem: The plugin shows an error about Classic Editor.
Solution:
- Install the “Classic Editor” plugin.
- Activate it.
- Make sure you’re editing in Classic mode (not the Block Editor).
“No Content Found” Error
Problem: The plugin says no content was found.
Solution:
- Add some content to your post/page first.
- Confirm you are in Classic Editor mode.
- Try switching between the Visual and Text tabs, then run the cleaner again.
Links Not Being Removed
Problem: Some external links remain after cleaning.
Solution:
- Check whether those links are truly external (different domain).
- Verify that Classic Editor is active for that post.
- Run the cleaning process a second time if needed.
Support & Updates
- Developer: We Simplify Complexity
- Website: https://dev.wesimplifycomplexity.com/products/wordpress/wsc-external-link-cleaner/
- Support / Coffee: https://buymeacoffee.com/brontebeach
Feature Summary
✅ Core Features Implemented:
- Main Admin Page – Bulk cleaning interface.
- Meta Box Integration – Individual post/page cleaning.
- Citation Detection – Smart identification of citation links.
- Preview Functionality – Test changes before applying.
- AJAX Processing – Smooth, no‑reload user experience.
- Security – Proper nonce verification and capability checks.
- Multi-content Support – Posts, pages and media descriptions.
✅ Citation Handling Options:
- Remove – Delete citation links entirely.
- Keep – Preserve citation text unchanged.
- Convert – Transform links into plain text (no hyperlink).
✅ Advanced Features:
- Domain whitelist support.
- Real-time link detection in the meta box.
- Auto-refresh (or preview) after cleaning.
- Comprehensive error handling.
- Visual citation badges.
- Domain statistics.
✅ Technical Implementation:
- Clean OOP structure.
- Proper WordPress action & filter hooks.
- Secure AJAX endpoints.
- Responsive admin interface.
- Cross-browser compatibility.
Explore Our Other WordPress Plugins
WSC Accounting (Core)
Core accounting engine for transactions, financial reports and double‑entry bookkeeping.
Khipu Accounting
A streamlined accounting layer focused on sales, expenses and third‑party contacts.
HRM – Human Resources Manager
Manage employee records, departments, positions and HR events directly inside WordPress.
Current Version Status
Track which WordPress and plugin versions you are running and where updates are needed.
ManBehindTheCurtain
A backstage toolkit for developers and admins, surfacing diagnostics and helpers safely.
Page / Post Footer
Add consistent footer content (disclaimers, CTAs, legal notes) to your pages and posts.
WooCommerce External Stock Links
Link WooCommerce products to external channels (Amazon, eBay, Etsy) and track outbound clicks.
WSC WordPress Analytics
Lightweight, internal analytics for your WordPress site without heavy third‑party scripts.
WSC 404 Redirect
Control how 404s are handled and redirect visitors to more useful destinations.
Contact the WSC External Link Cleaner team