It is well known that the search engines do not attract attention to the tag nofollow
and noindex
.
It is also known that the search engines do not process JavaScript, this we use. First, you need to include the jQuery library, if it is not included. And to add a handler click on our "miracle" links:
<head> <!-- ... --> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <!-- This code your can be inserted in the js file and include it to your website --> <script> $(document).ready(function() { $('a.link').click(function() { window.open($(this).data("link")); return false; }); }); </script> <!-- ... --> </head>
Next step, add links. Sample:
<a href="#" class="link" data-link="http://devreadwrite.com">link to site devreadwrite.com</a>
The number of links on the page can be unlimited.
<a href="#" class="link" data-link="http://devreadwrite.com">link to site devreadwrite.com</a> <a href="#" class="link" data-link="http://google.com">link to google</a>
Done, now normal links indexed and such as above is not indexed.