Make Compojoom component no follow free

By default, the Compojoom component – formerly known as Joomla! Comment – is not "nofollow free". Fortunately, there is a very simple hack that can be done in order to make it "nofollow free". Please note that this hack applies to version 4 of the component as the previous version has a different file structure.

This being said, this is how to do it (it’s really simple!):

  1. Download the file:
    • site_root/components/com_comment/classes/joomlacomment/JOSC_post.php
  2. Search for the "nofollow" sting in the file. Depending on the version you are using, it might be on line 317 (version 4.1.3), 541 (version 4.1.4) or elsewhere.
  3. Once the "nofollow" string is found in a place like:
    • <a class=’postwebsite’ rel=’external nofollow’ href=’".$website."’ …
  4. Delete the word "nofollow", resulting something like:
    • <a class=’postwebsite’ rel=’external’ href=’".$website."’ …
  5. Upload the file back to the server.
  6. Clean the cache, if you have enabled it.

That’s all. I hope it helps.

Lasa un raspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *

Vreau să fiu părtaș la faptă. Poți, de asemenea, să fii părtaș și fără martori.

Acest site folosește Akismet pentru a reduce spamul. Află cum sunt procesate datele comentariilor tale.

Robintel
Despre Politica de Confidențialitate

Acest website are nevoie să folosească cookies, care sunt niște fișiere text de mici dimensiuni ce conțin referințe specifice, dar nu explicite, stocate pe computerul voastru, astfel încât, de exemplu, atunci când lăsați un comentariu, datele din formular să se salveze, dar nu numai.

Fără acces la cookies, aceste date nu se vor salva.

Pentru a afla mai multe despre cum folosim informațiile și despre dreptul vostru asupra datelor voastre, vă rugăm să consultați pagina Politica de Confidențialitate.

Puteți modifica accesul la aceste cookies accesând taburile din stânga.