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
- In text editor place cursor on link
- 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.
- On page, where there are hidden link or user comments, press keyboard shortcuts Ctrl+U — new tab with source code opens.
- Now press Ctrl+F on keyboard — field for text searching appears. Enter phrase in it data-link and press Enter on your keyboard.
- 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.
- 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:
- Automatically hide all external links in post content
- Control script including (inline or file)
Extra
From your WordPress dashboard
- Visit Plugins → Add new
- Search for
Hide Links
and click Install button on HideLinks plugin
- Activate HideLinks from your Plugins page.
- Visit Posts → Add new and find new button at visual editor
From
WordPress.org
- Download and unzip
hidelinks.zip
- Upload the
hidelinks
directory to your /wp-content/plugins/
directory, using your favorite method (ftp, sftp, scp, etc…)
- Activate HideLinks from your Plugins page.
- Visit Posts → Add new and find new button at visual editor