How to hide the link?
Why hide links? For different reasons.
First, site owners do not want to increase the weight of someone else's site, which you can go to via the link. The weight of their site due to this, on the contrary, decreases.
Secondly, often referral links are hidden. And this is due to the psychology of users who see such a link and do not want to become sources of income for another user.
Finally, links can hide any prohibited materials or resources.
Html, css and not only
With the html or css code, you can hide the link, then it will be "lost" against the background of the rest of the text.
That is, the link will be active, but nobody will notice it in the text.
Html code
- <a href="adirect link" class="my-link"> Link text </a>
Code css
- a.my-link, a.my-link: visited, a.my-link: hover {
- color: # 000;
- text-decoration: none;
- }
Remember the psychology of referrals? Of course, making a hidden link is not very fair in relation to the user, but such questions often arise - and here such code can hide the affiliate link:
- <a href = "real link" onMouseOver = "window.status = "shortcut"; return true "onMouseOut =" window.status = ""; return true "> link text </a> <a href =" this link "onMouseOver =" window.status = "shortcut"; return true "onMouseOut =" window.status = ""; return true "> link text </a>
Reliable redirect - for advanced
This tricky method allows you to save the weight of the site, but at the same time go to the right resource. How to do it?
Create a text file redir.php, in it, write:
- <$ site = $ _GET ["site"]; Header ("Location:". $ Site. ""); exit (); ?>
Paste into the root of your site.
Before the link, write the following:
- http://точка.ру/redir.php?site=http://точка.ру/redirect.php?site=
Hide with tags
It happens that many bloggers are faced with the fact,that their blogs are banned - especially in the blogspot platform. If your blog has many different pictures, counters, ad links, then Google almost certainly "recognizes" it as a source of spam. A blocked blog will be rescued by manual checking, and it takes time. Therefore, it is so important to protect the content or links - and then the tags will come to the rescue.
Nofollow allows you to prevent indexing of links on the page, and noindex prevents indexing by the search engines of all content.
The nofollow tag is recommended for pastinglinks - pictures, counters, non-promotional links. On the advertising should not be put: the ban can be checked and the advertiser is unlikely to appreciate it. To register a tag, paste into the link: <a href="http://your domain"> text </a> before the first> rel = "nofollow", using the rel attribute, you are not responsible for the content of the site on which leads the link. This way you "ask" the search engines not to go over it.
Noindex is used when you need to protectonly links, but all or part of the content. Paste this tag is easier than nofollow - before and after a piece of text that you hide, you need to register <noindex> ... </ noindex>.
Remember: nofollow perceives Google and Yahoo, and noindex - Rambler and Yandex.
We advise you to get additional information from the article How to make the link active.