Title: No External Links
Author: mihdan
Published: <strong>17 janeiro, 2018</strong>
Last modified: 29 setembro, 2026

---

Pesquisar plugins

![](https://ps.w.org/mihdan-no-external-links/assets/banner-772x250.png?rev=2507972)

![](https://ps.w.org/mihdan-no-external-links/assets/icon.svg?rev=2781384)

# No External Links

 Por [mihdan](https://profiles.wordpress.org/mihdan/)

[Baixar](https://downloads.wordpress.org/plugin/mihdan-no-external-links.5.3.0.zip)

 * [Detalhes](https://br.wordpress.org/plugins/mihdan-no-external-links/#description)
 * [Avaliações](https://br.wordpress.org/plugins/mihdan-no-external-links/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/mihdan-no-external-links/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/mihdan-no-external-links/#developers)

 [Suporte](https://wordpress.org/support/plugin/mihdan-no-external-links/)

## Descrição

No External Links converts external links to internal links. Featuring _Full Page
or Targeted Content Filtering_, _Custom Redirect Page/Message_, _Encoded Masks_,
_External Link Click Logging_, _Individual Link Exclusion_, _Post/Page Specific 
Exclusion_, and many more…

#### Example

Links like “_https://wordpress.org_” will be masked into
 “_http://www.example.com/
goto/https://wordpress.org_“.

#### Warning

No External Links may conflict with cache plugins.
 Usually adding the redirect 
page to the caching plugin exclusions works fine, but there are no guarantees. Create
a [support topic](https://wordpress.org/support/plugin/mihdan-no-external-links)
if you need assistance resolving a caching issue. **_Please provide as much detail
as possible, for example, what version of WordPress & PHP you are using. Which caching
plugin you are using. The more information you include the better._**

#### Details

No External Links is designed for specialists who sell different kinds of advertisements
on their web site and care about the number of outgoing links that can be found 
by search engines. Now you can make all external links internal.

#### How To Use

Just do everything like you would normally, and as long as the plugin is active,
external links will be automatically masked.

#### Recommended Settings

The default settings that are used on a fresh install of the plugin are what we 
recommend.

#### Support

Need help with anything? Please create a [support topic](https://wordpress.org/support/plugin/mihdan-no-external-links).
**
_Please provide as much detail as possible, for example, what version of WordPress&
PHP you are using. Examples of links that do not work. If you are using a caching
plugin, please specify which one. The more information you include the better._**

#### Feature Request

Want a feature added to this plugin? Create a [support topic](https://wordpress.org/support/plugin/mihdan-no-external-links).

We are always looking to add features to improve our plugin.

#### Localization

We apologize that the latest version has changed so much that existing localizations
no longer work.
 If you would like to contribute to the translations please get 
in touch.

#### Note

No External Links **does not** make any changes to your database, it just processes
the output. So you will not see these changes within the WYSIWYG editor.

## Capturas de tela

[[

[[

[[

[[

## Instalação

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’
 2. Search for ‘No External Links’
 3. Activate No External Links from your Plugins page.
 4. [Optional] Configure No External Links settings.

#### From WordPress.org

 1. Download No External Links.
 2. Upload the ‘mihdan-noexternallinks’ directory to your ‘/wp-content/plugins/’ directory,
    using your favorite method (ftp, sftp, scp, etc…)
 3. Activate No External Links from your Plugins page.
 4. [Optional] Configure No External Links settings.

## Perguntas frequentes

### Where do I report security bugs found in this plugin?

Please report security vulnerabilities by email to:

**security@kagg.eu**

When reporting a vulnerability, please include as much information as possible to
help us reproduce and investigate the issue, such as:

 * A clear description of the vulnerability
 * Steps to reproduce
 * Proof-of-concept or exploit code (if available)
 * Affected versions

We will review your report and respond as quickly as possible.

## Avaliações

![](https://secure.gravatar.com/avatar/09a1b5389d5393faea350f2945e812c53d3ddfc2b2da916c5604f238c4626081?
s=60&d=retro&r=g)

### 󠀁[Всё Ок! Плагин работает!](https://wordpress.org/support/topic/%d0%b2%d1%81%d1%91-%d0%be%d0%ba-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82/)󠁿

 [NoName](https://profiles.wordpress.org/anat0liy/) 18 dezembro, 2025

Всё работает, хороший плагин, спасибо!

![](https://secure.gravatar.com/avatar/baae189562efa9cf1a7a444fc3028a11ace600d803244022404face7bab59210?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41063/)󠁿

 [Stanislav](https://profiles.wordpress.org/pigus/) 21 novembro, 2025

Great plugin, I recommend it! Thank you.

![](https://secure.gravatar.com/avatar/b698bc7ad33cafdac45d1571b30701d6395ed112baeab0e5b5ab4968865bc762?
s=60&d=retro&r=g)

### 󠀁[Amazing!](https://wordpress.org/support/topic/amazing-3667/)󠁿

 [Nic Windley](https://profiles.wordpress.org/nisiwi/) 7 fevereiro, 2023 3 respostas

Just what I was looking for. I'm running the latest WP (as of writing this comment)
and the plugin works flawlessly without noticeable server overhead. Great work. 
Looking forward to seeing how this plugin progresses.

![](https://secure.gravatar.com/avatar/4f4b77c71f444a75292ba1b7eb7d703854d9b1cdd47f9bfdd0d2467376e4c166?
s=60&d=retro&r=g)

### 󠀁[👍 Чистый и функциональный плагин](https://wordpress.org/support/topic/%f0%9f%91%8d-%d1%87%d0%b8%d1%81%d1%82%d1%8b%d0%b9-%d0%b8-%d1%84%d1%83%d0%bd%d0%ba%d1%86%d0%b8%d0%be%d0%bd%d0%b0%d0%bb%d1%8c%d0%bd%d1%8b%d0%b9-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd/)󠁿

 [ratmanovsky](https://profiles.wordpress.org/ratmanovsky/) 22 outubro, 2021

Нравится визуальная чистота на странице настроек и функциональность. Кодировка, 
сокращатель, исключения, логирование – класс! SEO hide 🔥 Спасибо за плагин!

![](https://secure.gravatar.com/avatar/42ceffb5f321236f364d2dcd07454afd4dbaa2f2d05512f617ec2393245611a2?
s=60&d=retro&r=g)

### 󠀁[Plugin for SEO](https://wordpress.org/support/topic/plugin-for-seo/)󠁿

 [developerandmarketing](https://profiles.wordpress.org/developerandmarketing/) 
23 setembro, 2021 1 resposta

Nice plugin for SEO.Thanks!

![](https://secure.gravatar.com/avatar/5bfb3dbe47a382dd9b69cdee45002e1365eeaac43eae980dcad04576f63caa5e?
s=60&d=retro&r=g)

### 󠀁[5/5](https://wordpress.org/support/topic/5-5-25/)󠁿

 [kacper3355](https://profiles.wordpress.org/kacper3355/) 9 junho, 2021 1 resposta

This plugin does exactly what I've been looking for! It's well coded, fast and works
as intended. Truly recommend!

 [ Leia todas as 16 avaliações ](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/)

## Colaboradores e desenvolvedores

“No External Links” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ mihdan ](https://profiles.wordpress.org/mihdan/)
 *   [ kaggdesign ](https://profiles.wordpress.org/kaggdesign/)

No External Links” foi traduzido para 1 localidade. Agradecemos aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/mihdan-no-external-links/contributors)
por suas contribuições.

[Traduzir o “No External Links” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/mihdan-no-external-links)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/mihdan-no-external-links/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/mihdan-no-external-links/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/mihdan-no-external-links/)
por [RSS](https://plugins.trac.wordpress.org/log/mihdan-no-external-links/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 5.3.0 (29.09.2026)

 * Added an extra security hardening layer for redirect handling and the Logs screen
 * Improved redirect referrer handling
 * Added unit tests and wired them into CI

#### 5.2.0 (02.04.2026)

 * Tested with WordPress 7.0

#### 5.1.8 (29.11.2025)

 * Resolved #[42](https://github.com/mihdan/mihdan-no-external-links/issues/42)

#### 5.1.7 (01.10.2025)

 * Resolved #[41](https://github.com/mihdan/mihdan-no-external-links/issues/41)

#### 5.1.6 (28.09.2025)

 * Resolved #[39](https://github.com/mihdan/mihdan-no-external-links/issues/39)
 * Resolved #[40](https://github.com/mihdan/mihdan-no-external-links/issues/40)
 * The error “Function _load_textdomain_just_in_time was called incorrectly” has
   been fixed

#### 5.1.5 (28.09.2025)

 * Tested with WordPress 6.4+

#### 5.1.4 (02.06.2024)

 * Fixed error of saving include/exclude sections

#### 5.1.3 (21.05.2024)

 * Fixed error of decoding links hidden with SeoHide
 * Fixed a fatal error related to the `Mihdan_NoExternalLinks_Database` class

#### 5.1.2 (08.12.2023)

 * Added a code editor to modify the redirect page
 * Added progress bar to redirect page
 * Fixed display error when an custom page for redirect is specified

#### 5.1.1 (06.12.2023)

 * Fixed fatal errors on admin pages
 * Fixed bugs in SEO Hide module

#### 5.1.0 (25.11.2023)

 * Tested with WordPress 6.4+.
 * Added PHP 8.3 support
 * Added excluded list for SEO hide

#### 5.0.7 (03.05.2023)

 * Fixed ampersand conversion in links
 * Fixed PHP notices

#### 5.0.6 (02.05.2023)

 * Resolve #[20](https://github.com/mihdan/mihdan-no-external-links/issues/20)
 * Resolve #[25](https://github.com/mihdan/mihdan-no-external-links/issues/25)
 * Resolve #[30](https://github.com/mihdan/mihdan-no-external-links/issues/30)

#### 5.0.5 (18.04.2023)

 * Tested with WordPress 6.2.
 * Added PHP 8.2 support
 * Removed settings for the dead “Link Shrink” service
 * Removed custom link parser functionality

#### 5.0.4 (13.09.2022)

 * Added possibility to specify any page of the site as a redirect page

#### 5.0.3 (12.09.2022)

 * Fixed fatal errors on logging pages
 * Fixed errors in translations in the WordPress admin

#### 5.0.2 (09.09.2022)

 * Added polyfill for the deprecated mcrypt PHP module

#### 5.0.1 (08.09.2022)

 * Code refactoring to conform coding and security standards.

#### 5.0.0 (14.04.2022)

 * Code refactoring
 * Set minimum compatibility PHP version to 7.4
 * PHP 8.1 compatibility

#### 4.8.0 (07.04.2022)

 * Added a link to plugin settings on all plugins page
 * Fixed security issues

#### 4.7.4 (13.12.2022)

 * Fixed a bug with SEO hide

#### 4.7.3 (07.09.2021)

 * Check if `wp_referer()` exists to work properly with `rel="noreferrer"` links

#### 4.7.2 (05.04.2021)

 * Added a new settings page with all the author’s plugins

#### 4.7.1 (04.04.2021)

 * Fixed a bug with SEO hide
 * Fixed a bug with the name of the main plugin file

#### 4.7.0 (03.04.2021)

 * Hiding links using SEO hide method

#### 4.6.0 (02.04.2021)

 * Added support for WordPress 5.7
 * Added support for HTTP status codes (301, 302, 307)
 * Added script for auto deploy to wp.org

#### 4.5.2 (30.04.2020)

 * Added support for WordPress 5.4
 * Fixed bug with headers

#### 4.5.1 (19.01.2020)

 * Added output buffering test for Site Health
 * Added domain & advert type fields for adf.ly
 * Added domain *.wordpress.org to exclude list
 * Fixed bug with output buffer notice
 * Fixed bug with & and & in URL
 * Fixed bug with adf.ly support
 * Updated referrer-warning.php template
 * Updated referrer.php template
 * Updated yourls support
 * Updated layout for links settings page
 * Prevented error 404 on redirect page

#### 4.5 (2019-04-16)

 * Removed possible SQL injection in admin panel scripts

#### 4.4 (2019-04-12)

 * RegEx pattern to DomDocument
 * WPCS
 * Fix bug on log page

#### 4.3.8 (2019-02-02)

 * Built-in support for yourls link shortening

#### 4.3.7 (2019-01-31)

 * Fix bug with cyr2lat plugin: remove `sanitize_title` from menu items

#### 4.3.6 (2018-12-07)

 * Add assets for plugin

#### 4.3.5 (2018-08-09)

 * Fix bug with `Mihdan_NoExternalLinks_Admin_Log_Table`

#### 4.3.4 (2018-08-08)

 * Added new lines to the translation

#### 4.3.3 (2018-08-08)

 * Change text domain from `mihdan-noexternallinks` to `mihdan-no-external-links`

#### 4.3.2

 * Update README.txt

#### 4.3.1

 * Bump version

#### 4.3

 * Forked from https://wordpress.org/plugins/wp-noexternallinks/

#### 4.2.2

Several bug fixes.

#### 4.2.1

Fixed several PHP Compatibility issues.

#### 4.2.0

Added many new features including:
 * AES-256 Link Encryption * Link Anonymizer *
Domain Specific Targeting * Bot Specific Targeting * Improved Logging functionality*
Built-in support for link shortening (Adf.ly, Bitly, Link Shrink, Shorte.st)

And several bug fixes.

#### 4.1.0

Re-coded Custom Parser functionality.

#### 4.0.2

Fixed a PHP Compatibility issue.

#### 4.0.1

Bug fixes.

#### 4.0.0

Plugin rewritten. Major overhaul of the code base.

#### 3.5.9.9

Added custom filter with name “wp_noexternallinks”. Please use it for custom fields
and so on.

#### 3.5.9.8

Fixed custom parser load.

#### 3.5.9.7

Add support for custom location of wp-content dir.

#### 3.5.9.6

Fix for RSS masking.

#### 3.5.9.5

Added support for relative links, beginning with slash (/).

#### 3.5.9.4

Added masking options for RSS feed.

#### 3.5.9.3

Added noindex comment option for yandex search engine.

#### 3.5.9.2

Parser logic optimization and fixes.

#### 3.5.9.10

Disabled full masking when running cron job to avoid collisions.

#### 3.5.9.1

Fixed bug when statistic was not written.

#### 3.5.9

Updated filter to support multiline links code.

#### 3.5.8

Custom parser file moved to uploads directory to avoid deletion.

#### 3.5.7

Custom parser file moved to uploads directory to avoid deletion.

#### 3.5.6

Fixed bug with writing click stats to database.

#### 3.5.5

Divided code to smaller functions for easier overwrite with custom modes.

#### 3.5.4

Fixed “rel=follow” feature. Added icon for admin menu.

#### 3.5.3

Do not disable error reporting on server any more.

#### 3.5.20

minor text fixes

#### 3.5.2

Some refactoring.

#### 3.5.19

minor XSS fix (thanks to DefenseCode WebScanner), more debug, fix possible bug with
numeric masking

#### 3.5.18

added index on links table

#### 3.5.17

fix for better compatibility with php7

#### 3.5.16

minor security fix

#### 3.5.15

fix masking issues with mixed http/https

#### 3.5.14

fallback to 3.5.11

#### 3.5.13

bugged versions

#### 3.5.12

bugged versions

#### 3.5.11

minor improvements

#### 3.5.10

Fixed issues with cron job

#### 3.5.1

Added option for developers – now you can extend plugin with custom parsing functions!
Just rename “custom-parser.sample.php” to “custom-parser.php” and extend the class(
see sample file for details). Your modifications will stay even after plugin upgrade!

#### 3.5

Redesigned user friendly admin area!

#### 3.4.5

Added option to disable links masking when link is made by admin and has **rel=”
follow”** attribute

#### 3.4.4

Added exclusion for polugin from WP Super Cache.

#### 3.4.3

Added detection and prevention of possible spoofing attacks. See new option in plugin
settings. It is enabled by default.

#### 3.4.2

Fixed displaying error where there are no stats for today.

#### 3.4.1

Fixed displaying error where there are no stats for today.

#### 3.4

Replaced direct SQL queries with WPDB interface.

#### 3.3.9.2

Now debug mode does not mess up web site. Also added some text to options page.

#### 3.3.9.1

Added some more debug.

#### 3.3.9

Updated for correct work with enabled statistics and Hyper Cache plugin.

#### 3.3.8

Correct redirection links with GET parameters, sometimes damaged by wordpress output.

#### 3.3.7

Critical update for 3.3.6.

#### 3.3.6

More output for debug mode.

#### 3.3.5

Little update so that plugin won’t cause harmless warning.

#### 3.3.4

Now you can customize link view if you chose “remove links” or “turn links into 
text”. Use CSS classes “waslinkname” and “waslinkurl” for it.

#### 3.3.3b

Exclusions list fix, possible fix for not found ‘is_user_logged_in’ function.

#### 3.3.2

Imporovements for option “Mask ALL links in document”, debug mode.

#### 3.3.1

Hotfix for some blogs which crashed on checking if page is RSS feed, improvements
for option “Mask ALL links in document” – now it doesn’n mask RSS and posts with
option “don’t mask links”.

#### 3.3

Additional protect from masking links in RSS, fix for admin panel in wordpress 3.4.2,
Perfomance fixes.

#### 3.2

Two new options, little backslashes fix, error reporting fix.

#### 3.1.1

Improved compatibility with some shitty servers.

#### 3.1.0

Added masking links with digital short codes.

#### 3.0.4

Fixed when some options in checkboxes couldn’t be changed.

#### 3.0.3

Removed some extra info, added some error handlers, repaired broken system for flushing
click stats.

#### 3.0.2

Removed test message “failed to update options” when nothing changed in options.
Also, fixed issue when, if link masking was disabled for post, it was also disabled
for comments.

#### 3.0.1

Fixed option update issue.

#### 3.0.0

Code improvements, added .po translation, clicks stats and option to mask Everything.

#### 2.172

fixed javascript error when redirects ended with “;”

#### 2.171

Added automatic exclusion of internal links (#smth) from masking.

#### 2.17

Several bugfixes for low possible case scenarios…

#### 2.16

Javascript links aren’t broken by plugin now, thanks to [Andu](http://anduriell.es).

#### 2.15

Fixed for some servers with setup which replaces “//” with”/”.

#### 2.14

Absolute file paths used now instead of relative.

#### 2.13

Fixed language inclusion problem which apperared in some cases.

#### 2.12

Fully compatible with PHP4.

#### 2.11

Removed “public” keyword in class functions definitions. Probably will be more compatible
with PHP4.

#### 2.10

Plugin was rewrited for faster performance, fixed adding targer=”_blank” for internal
links.

#### 2.05

Fixed internationalization, added Belarusian language.

#### 2.04

Changed default settings, removed “disable links masking”.

#### 2.03

Fixed broken exclusions list.

#### 2.02

Updated to execute later then other link filters, preventing possible problems with
other plugins.

#### 2.01

Little bugfix, for fixing errors when empty exlusions.

#### 2.0

Many significant changes, including urls and post exclusion from masking, another
rewrite structure, and new options.

#### 0.071

Russian translation corrected.

#### 0.07

Better work for sites wihout mod_rewrite.

#### 0.06

Bugfix for email links.

#### 0.05

Bugfix for wrong html parsing.

#### 0.04

Activation/Deactivation improved, optimization, localization settings now stored
as options.

#### 0.03

Bugfix.

#### 0.02

Multilanguagal release.

#### 0.01

First release.

## Meta

 *  Versão **5.3.0**
 *  Última atualização **2 semanas atrás**
 *  Instalações ativas **4.000+**
 *  Versão do WordPress ** 5.7.4 ou superior **
 *  Testado até **7.1.3**
 *  Versão do PHP ** 7.4 ou superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/mihdan-no-external-links/) e [Russian](https://ru.wordpress.org/plugins/mihdan-no-external-links/).
 *  [Traduzir para seu idioma](https://translate.wordpress.org/projects/wp-plugins/mihdan-no-external-links)
 * Tags
 * [comments](https://br.wordpress.org/plugins/tags/comments/)[links](https://br.wordpress.org/plugins/tags/links/)
   [posts](https://br.wordpress.org/plugins/tags/posts/)[seo](https://br.wordpress.org/plugins/tags/seo/)
   [seo hide](https://br.wordpress.org/plugins/tags/seo-hide/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/mihdan-no-external-links/advanced/)

## Classificações

 4.8 de 5 estrelas.

 *  [  15 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/?filter=2)
 *  [  1 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/mihdan-no-external-links/reviews/)

## Colaboradores

 *   [ mihdan ](https://profiles.wordpress.org/mihdan/)
 *   [ kaggdesign ](https://profiles.wordpress.org/kaggdesign/)

## Suporte

Problemas resolvidos nos últimos dois meses:

     0 de 1

 [Ver fórum de suporte](https://wordpress.org/support/plugin/mihdan-no-external-links/)