Hide Links

May 17, 2018

Hide Links Plugin

Closure of external links from indexing using jQuery script.

Hides external links from indexing by search engines using a jQuery masking links script ( more about the method in )

FEATURES:

  • One click on editor button help to hide external links in search engine index
  • Automatically disallows indexing of all commenter’s links.
  • Simple shortcode [link][/link] easily hides any links in widgets or comments texts.

USAGE

  1. In text editor place cursor on link
  2. Click on HideLinks button to add shortcode before and after link. Sample: [link]external link[/link]

TESTING

After installing and activating plugin, hidden links look like ordinary ones. This moment can mislead and complicate work of plugin.

You can check whether plugin works correctly in two ways.

  1. On page, where there are hidden link or user comments, press keyboard shortcuts Ctrl+U — new tab with source code opens.
  2. Now press Ctrl+F on keyboard — field for text searching appears. Enter phrase in it data-link and press Enter on your keyboard.
  3. Browser found in source code all matches with necessary phrase (it is present in hidden link). In search box to the right of entered phrase, inscription with number of found matches appears (i.e. hidden links), and near — arrows for transition to previous and next found fragment.
  4. If in found fragment after phrase data-link goes link address you have hidden (or site address commentator) — it means that plugin hides link.

Sample: <span data-link="http://mylink.com" data-target="_blank" title="Title" class="link">anchor</span> not like this: <a href="http://mylink.com" target="_blank" title="Title" class="">anchor</a>

PRO Features

HideLinks Pro allow:

  1. Automatically hide all external links in post content
  2. Control script including (inline or file)

Extra

Installation

From your WordPress dashboard

  1. Visit PluginsAdd new
  2. Search for Hide Links and click Install button on HideLinks plugin
  3. Activate HideLinks from your Plugins page.
  4. Visit PostsAdd new and find new button at visual editor

From WordPress.org

  1. Download and unzip hidelinks.zip
  2. Upload the hidelinks directory to your /wp-content/plugins/ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate HideLinks from your Plugins page.
  4. Visit PostsAdd new and find new button at visual editor

Screenshots

  1. HideLinks button in visual editor

    HideLinks button in visual editor

FAQ

Installation Instructions

From your WordPress dashboard

  1. Visit PluginsAdd new
  2. Search for Hide Links and click Install button on HideLinks plugin
  3. Activate HideLinks from your Plugins page.
  4. Visit PostsAdd new and find new button at visual editor

From WordPress.org

  1. Download and unzip hidelinks.zip
  2. Upload the hidelinks directory to your /wp-content/plugins/ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate HideLinks from your Plugins page.
  4. Visit PostsAdd new and find new button at visual editor

Why hidden links are displayed as ordinary text?

There are script errors on site and because of them code link substitution doesn’t work.

In this case, you can try to disable all plugins except HideLinks and again check links – if on site page they have become clickable, then it means that error in scripts is caused by one of plugins. Try to activate plugins one by one, checking each time whether hidden link becomes ordinary text on page.

If there is still a problem after deactivating plugins, it means that error can be caused by scripts from theme. In this case, you will need help of professional. In order to make sure that problem is in script error – you can contact technical support specifying site address.

Зачем закрывать ссылки от индексации?

Главная причина сокрытия ссылочной массы с сайта – это утечка веса.

Почему бы просто не использовать `rel=”nofollow”` для Google и “ для Яндекс?

Тег noindex (Яндекс) и атрибут nofollow (Google) не прячут ссылки от поисковиков, а только рекомендуют поисковым роботам не индексировать ссылки. Решение о индексации и учете этих ссылок принимается поиковой системой.

Changelog

1.4.2

  • rename translation files

1.4.1

  • translation domain fix

1.4

  • Tested up to WordPress 4.9.6
  • update translations

1.3

  • Tested up to WordPress 4.9
  • add: rel=noopener by default

1.2

  • Tested up to WordPress 4.8
  • Fix: problem with shortcode setup, when link is in begin or end of paragraph
  • Add: do shortcodes in link text
  • Add: Localization

1.1

  • Added: visual editor button with which you can easily add or remove shortcode around link.

1.0.4

  • Added: secure comment for script (in script)
  • Added: commentator’s link replacement which is displayed via get_comment_author_url_link

1.0.3

  • Added: saving class attribute in script replacement, if there is any, for link

1.0.2

  • Fixed: error with class setting for link of author’s comment

1.0.1

  • Fixed: fatal error with setting class for tag span with picture inside
  • Now in comment text and text widget you can use shortcode [link][/link] to close links, adding it around html – code of standard hyperlink

1.0

  • Release

Details

  • Version: 1.4.2
  • Active installations: 600
  • WordPress Version: 3.0
  • Tested up to: 4.9.26

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars