Huginn e Muninn

Blog del Centro Studi La Runa

WordPress Plugin Tags Autolink

6 dicembre, 2007 (22:53) | Plugin WordPress | Di: admin

I just created my second WordPress plugin, which is conceptually based on the previous one, Categories Autolink.

Tags Autolink automatically turns every tag name, when used in posts and pages, into a link to the same tag archive.

For example, if you write an article about the history of Rome and you tag it with “Rome”, “history” and “Julius Ceasar”, each of the previous words, if used in the article, is automatically turned in links (respectively, to, and

But that’s not all: if in another article you used other tag names, for example “Brutus”, also that word will be turned in link, and everywhere you used it.

I think this plugin will be very useful under the SEO (search engine optimization) point of view, for it will dramatically increase the number of internal links, creating a very thick web.

The plugin works with wordpress from version 2.3; I release it under the GPL license.


* * * * *

Ho appena creato il mio secondo Plugin per WordPress, che è basato concettualmente sul precedente, Categories Autolink.

Tags Autolink converte automaticamente ogni nome di tag (etichetta) utilizzato all’interno di pagine o articoli in un link all’archivio di quel tag.

Per esempio, se si scrive un articolo sulla storia di Roma e lo si “tagga” (cioè lo si etichetta) con i nomi “Roma”, “storia” e “Giulio Cesare”, ciascuna di tali parole, se utilizzata all’interno dell’articolo, viene automaticamente trasformanta in links (rispettivamente, verso, e

Ma non è tutto: se in un altro articolo si erano utilizzati altri tag, per esempio “Bruto”, anche quella parole viene convertita in un link, e ovunque la si utilizzi.

Ritengo che questo plugin sia molto utile dal punto di vista SEO (ottimizzazione del posizionamento sui motori di ricerca), dal momento che incrementa in modo consistente il numero di link interni, creando così una ragnatela molto fitta.

Il plugin funziona con WordPress dalla versione 2.3; lo rilascio con licenza GPL.



Pingback di SEO-Automatic Internal Tags Linking with this Wordpress plugin | MG’s blog
Ora: 3 febbraio 2008, 17:48

[…] WordPress has a lot of great plugins for SEO, one of them is All In One SEO, and another one that I’m going to talk you about is WordPress tags auto link. […]

Pingback di VT2 Blog » Blog Archive » Wordpress Plugins 2008
Ora: 2 marzo 2008, 04:15

[…] Tags Autolink – automatically turns every tag name, when used in posts and pages, into a link the to the same tag archive. […]

Pingback di links for 2007-12-11 en newdisco
Ora: 7 marzo 2008, 15:57

[…] WordPress Plugin Tags Autolink: Huginn e Muninn Plugin de WordPress que convierte los tags dentro del contenido en links ad-hoc. (tags: wordpress plugin plugins tags) […]

Commento di hunthunt
Ora: 27 marzo 2008, 01:23

Can the tag words in the articles only turn into links only once.I found if there are several tag words in my article,all of them will turn into links.

Commento di admin
Ora: 27 marzo 2008, 09:03

@hunthunt: No, I’m sorry. It’s not possible.

Commento di pozmu
Ora: 10 aprile 2008, 10:52

Nice idea for the plugin… But it doesn’t work for me on WP 2.5. Installed, enabled and nothing happens… yes, I have tags defined… ???

Commento di admin
Ora: 10 aprile 2008, 11:23

I have the plugin installed on a site and it works properly, but I know the plugin is having some problems and, for the moment, I wasn’t able to fix them. Anyway it would work on wp 2.5 as well.

Commento di pozmu
Ora: 10 aprile 2008, 11:36

Thank you for very fast answer.
That’s sad :/. You will have to debug… Because there is no error message.
I found which works and has many other features… But there is place for simple plugin like yours too – just fix it.

Pingback di WordPress Plugins – WordPress 插件列表 12月8日 – WordPress中文站
Ora: 14 aprile 2008, 01:06

[…] Tags Autolink 自动将文章和页面中的适用的标签饼子转换为链接。 […]

Commento di Sara75
Ora: 18 aprile 2008, 22:25

@pozmu, @admin:
I had the same problem with this plugin to let it work on WP 2.5 and I found a query problem caused by “Column: ‘term_id’ in field list is ambiguous”.
I changed the query with this one to let it work correctly:

SELECT, t.term_id identificativo FROM $wpdb->terms t LEFT JOIN $wpdb->term_taxonomy USING (term_id) WHERE taxonomy = ‘post_tag’


Commento di franceso
Ora: 23 aprile 2008, 10:06

ho istallato mi crea il link e quando vado a cliccare mi apre una pagina con questo errore:
Warning: main(/web/htdocs/ [function.main]: failed to open stream: No such file or directory in /web/htdocs/ on line 57

Warning: main() [function.include]: Failed opening ‘/web/htdocs/’ for inclusion (include_path=’.:/php/lib/php/’) in /web/htdocs/ on line 57

cosa vuol dire?

Commento di Michael Hainsworth
Ora: 2 ottobre 2008, 03:57

I would also like to see this plug-in keep track of its links. I have articles that include company names and often the names are repeated dozens of times. If there was a variable in your plugin that tracked the number of times a tag was linked, you could have a tonne of flexibility — “only once per article” and “every third instance” or “first and last instance only” or something like that.

Pingback di รวม WordPress Plugins ยอดนิยม | Web & SEO
Ora: 7 ottobre 2008, 16:44

[…] WP Tag Autolink – สร้าง link ภายในเนื้อหาเราแบบ auto โดย link ไปที่ tag page ครับ […]

Pingback di รวม WordPress Plugins ยอดนิยม | – หาเงิน หาไฟล์ จัดให้! ..
Ora: 21 ottobre 2008, 11:52

[…] WP Tag Autolink สร้าง link ภายในเนื้อหาเราแบบ auto โดย link ไปที่ tag page ครับ […]

Commento di Simone
Ora: 22 ottobre 2008, 17:02

Ottimo plugin lato seo, complimenti ;) Una domanda : sarebbe possibile non trasformare in “tag link” i link esistenti? es se io in una pagina ho un link pippo e creo un tag con lo stesso nome sarebbe possibile lasciare il link originale?

Pingback di Wordpress En iyi eklentiler ve açıklama 400 adet | İnternet Çöplüğü
Ora: 13 novembre 2008, 16:35

[…] © Tags Autolink Yazı içinde etikelerinizle eşleşen kelime varsa otomatik link […]

Commento di Mark
Ora: 11 febbraio 2009, 20:05

Great plug in for SEO however, is there a way to limit the number of times a tag link appears in a post. For example if I have ‘insurance’ as a post tag, every time it finds this word in my post it turns in to a link. I might have it 10 times in a large post and this is too many autotag links. How do I limit it to say 1 time per taglink or say 3 times total? Thanks

Commento di admin
Ora: 11 febbraio 2009, 20:09

@Mark: I’ll try to make it do it with the next update. Stay tuned!

Commento di Joe Larson
Ora: 3 maggio 2009, 01:36

Glad to see that the overriding links thing has already been identified 2 years ago. If you fix this please contact me and I’ll turn it back on, but until you do I’m gonna have to turn this one off.

Commento di Package Holidays
Ora: 17 maggio 2009, 19:40

Thanks – just what I was looking for. For those who want to make this only link the first instance of each tag within a post, simply edit the php file to add the parameter 1 to the preg_replace statement. IE:

$text = preg_replace(“|(?!<[^]*?)(?name)\b(?!:)(?![^]*?>)|imsU”,”$1” , $text, 1);

Pingback di Wordpress SEO : Great Search Engine Optimization boost plugins for your WP blog | Tech Snacks
Ora: 21 maggio 2009, 01:17

[…] WordPress Plugin Tags Autolink Tags Autolink automatically turns every tag name, when used in posts and pages, into a link to the same tag archive. […]

Commento di HDX312
Ora: 23 maggio 2009, 10:50

thank u so much, i have success install

Pingback di WordPress: The best of and most useful WP plugins – part 2 | eBookTM | Download eBook, Wordpress Tips
Ora: 27 ottobre 2009, 06:11

[…] Tags Autolink – automatically turns every tag name, when used in posts and pages, into a link the to the same tag archive. […]

Pingback di Automated Internal Tag Link Building For Boosting Your SEO Ranking | Web Marketing Strategies
Ora: 13 aprile 2010, 21:48

[…] go to and download it from the official plugin site activate it and you are […]

Commento di Mamunur Rasid
Ora: 24 giugno 2010, 19:17

This is such a great resource that you are providing and you give it away for free. I enjoy seeing websites that understand the value of providing a prime resource for free. I truly loved reading your post.

Mamunur Rasid
oDesk Outsourcing Provider.
Be Your OwnCoder

Commento di magento themes
Ora: 3 gennaio 2012, 18:31

Too great. Thanks guys

Scrivi un commento