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!):
- Download the file:
- site_root/components/com_comment/classes/joomlacomment/JOSC_post.php
- 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.
- Once the "nofollow" string is found in a place like:
- <a class=’postwebsite’ rel=’external nofollow’ href=’".$website."’ …
- Delete the word "nofollow", resulting something like:
- <a class=’postwebsite’ rel=’external’ href=’".$website."’ …
- Upload the file back to the server.
- Clean the cache, if you have enabled it.
That’s all. I hope it helps.




Lasa un raspuns