Marco's noFollow plugin for Joomla! 1.5, 1.6 & 1.7
This extension is also published on http://extensions.joomla.org, if you like it, vote it or write a review, thank you.
Add rel="noFollow" to outgoing links.
This plugin allows you to add rel and target attributes to all outgoing links in articles on your Joomla!.
Download, install the plugin and activate it.
Configuration is very simple, just select the action to be taken for the two attributes.
Attribute "rel"
- "Set no follow, if not specified rel"
attribute set to "nofollow" unless specifically rel = "follow" - "Force no follow"
attribute to force the "nofollow" - "Strip no follow"
attribute to remove the "nofollow" - "Do not change"
does not change the attribute
Attribute "target":
- "Open in new window (_blank) if no target specified"
attribute set to "_blank" if not specified a value - "Open in new window (_blank)"
attribute set to "_blank" - "Open in parent window / frame (_parent)"
attribute set to "_parent" - "Do not change"
does not change the attribute
Css management
- "All, except"
apply rewrite to all a href, except which ones with listed css classes - "None, except"
apply rewrite only to a href with listed css classes - "Css Classes"
comma separed list of css classes to which apply or not rel="nofollow"
Note: version 1.2.1 only, you have to insert almost one class name (use 'voidClass' or any other name)
Thanks to Eugene S. for his support! - Note: upgrade from 1.2.1 or lower, you have to set css management 'cause a change in parameters values.
You can also add the code {mnf=off} anywhere in a single article which explicit disables this bot for the item.
How to add css classes to editor
In the directory /templates/[yourTemplate]/css/ add, if it does not exist, the file editor.css. Insert into the file:
a.noRel
}
a.setRel{
}
Empty your browser cache, next time you start the RTE you will see noRel and setRel styles for the a tag.
History
Jan 18th, 2011:
- Joomla! 1.6 compatible!
- include/exclude css classes list
- minor code improvement
May 4th, 2010:
- Added rewriting for <area> tag in clickable areas of image maps
April 25th 2010:
- initial release
Aggiungere rel="noFollow" ai links uscenti.
Questo Plugin permette di aggiungere gli attributi rel e target a tutti i link uscenti presenti negli articoli del vostro sito Joomla!.
Scaricate, installate il plugin ed attivatelo.
La configurazione è molto semplice, basta selezionare l'azione da compiere per i due attributi.
Attributo "rel":
- "Set No Follow, if no rel specified"
imposta l'attributo a "nofollow" se non è specificato rel="follow" - "Force No Follow"
forza l'attributo a "nofollow" - "Strip No Follow"
rimuove l'attributo a "nofollow" - "Do not change"
non modifica l'attributo
Attributo "target":
- "Open in new window (_blank) if no target specified"
imposta l'attributo a "_blank" se non è specificato un valore - "Open in new window (_blank)"
imposta l'attributo a "_blank" - "Open in parent window / frame (_parent)"
imposta l'attributo a "_parent" - "Do not change"
non modifica l'attributo
Applicare la riscrittura alle classi css
- "All, except"
applica a tutti gli a href, ad eccezione di quelli con le classi css indicate - "None, except"
applica ai soli a href con le classi indicate - "Css Classes"
lista separata da virgole delle classi cui applicare o meno l'attibuto rel="nofollow" - Nota: versione 1.2.1 soltanto, è necessario inserire almeno un nome di classe (usa 'voidClass' o qualsiasi altro nome)
Thanks to Eugene S. for his support! - Nota: aggiornamento da 1.2.1 o precedente, è necessario reimpostare css management in virtù di un cambio dei valori dei parametri.
Potete anche aggiungere il codice {mnf=off} in qualsiasi punto di un singolo articolo per disabilitare esplicitamente il bot per l'articolo.
Storia
18 Gennaio 2011:
- compatibile con Joomla! 1.6!
- inclusione/esclusione di classi css
- minor code improvement
4 Maggio 2010
- Aggiunto il codice di riscrittura per il tag <area> delle image-maps
25 Aprile 2010
- rilascio versione 1.0
Download rel=noFollow Plugin for Joomla!
There was a bug in v 1.2 please upgrade to 1.2.2 or greater... sorry.
Joomla! 1.5
Joomla! 1.6 & Joomla! 1.7

Commenti
I use your plugin on localhost and it looks fine, but in code I do not see rel="nofollow" code.
Will this work?
Also, I added the code above to the css editor file.
Thanks
===Answer:
yes, it should work also on localhost: check carefully all steps.
bye,
marco
thank you
==== Answer
sorry, but I did not understand what the question is.
bye,
marco
=== Answer
Hi Isak,
talking about sobi pro and other similar components: you have to act on its templates.
bye,
marco
I would like to ask you:
How can i set nofollow to internal links ?
Ect, i want to set unfollow the login modul and some of my menu items...
Thank you
Great extension,
===Answer
I Core,
I think it's not possible: this is a content, not a system plugin.
sorry
bye,marco
Will this work? Thanks
thank you very much for the useful plugin.
I have used it with pleasure, but lately noticed a problem that causes an error when I track my outbound links.
I use event tracking for my outbound links and I see that your plugin inserts an extra ' " ' in the , tag that disables my tracking. For example, if I enable your plugin my outbound URL looks something like:
===Answer
Hi Gerrit,
sorry, but you can't use comments o contacts' form to post code. please, reply the mail I sent you.
bye,
marco
I'll get it,
It's a good work from you
RSS feed dei commenti di questo post.