Twitter Facebook Linkedin Product Hunt
Powerful SEO Crawler tool

How to remove class VGLNK from HTML code

Comments: 0
 3,687
2020-05-21 | Time to read: 5 minutes
Facebook
Author: Simagin Andrey

Class vglnk

Once I noticed on the pages of my site that each domain or link in the text began to be formatted with a hyperlink of the format <a class="vglnk" href="..., which, when clicked, takes visitors away from the site. At the same time, the data in the HTML editor is "hyperlink" are plain text.

Opening the link properties through the source code research plugin, it turned out that the link has a VGLNK class, which was never use in the CSS styles of this site.

<a class="vglnk" href="http://somesite.com" rel="nofollow">
<span>somesite</span>
<span>.</span>
<span>com</span>
</a>

Googling this question, it turned out that the Disqus comment plugin was to blame for everything – it was he who turned fragments of plain text, similar to links, into directly hyperlinks of his affiliate sites (apparently Disqus is working with VigLink to post their affiliate links on our own sites. Scoundrel!).

However, solving the problem with class="vglnk" turned out to be quite simple:

  • go to the admin panel Disqus
  • go to the settings of a particular site (or go to the address https://your-domain.disqus.com/admin/settings/advanced/)
  • and in the Advanced section, uncheck the box "Affiliate links: Automatically append merchant codes to product links on your site"
  • press the SAVE button
  • all!

Vglnk

On the one hand, it’s good that I did not have to remove Disqus, since there is the possibility of disabling the placement of affiliate links. On the other hand, there is reason to think about moving to another, more transparent commentary system for the site.

Rate this article
4.6/5
4



0 comments

You must be logged to leave a comment.


<< Back

Our Clients