Huginn e Muninn

Blog del Centro Studi La Runa



WordPress Plugin Tags Autolink

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

(english)
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 http://myblog.com/tag/Rome, http://myblog.com/tag/history and http://myblog.com/tag/Julius-Ceasar).

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.

Download.

* * * * *

(italiano)
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 http://ilmioblog.it/tag/Roma, http://ilmioblog.it/tag/storia e http://ilmioblog.it/tag/Giulio-Cesare).

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.

Download.

Commenti

Pingback di links for 2007-12-07 « Aggregatore
Ora: 7 dicembre 2007, 17:18

[…] WordPress Plugin Tags Autolink: Huginn e Muninn Tags Autolink automatically turns every tag name, when used in posts and pages, into a link to the same tag archive. (tags: tag tags plugin wp wordpress wpplugin autolink link links) […]

Commento di Suvi
Ora: 7 dicembre 2007, 17:28

In wordpress 2.3.1 this plugin break the post-new.php page

Commento di admin
Ora: 7 dicembre 2007, 18:09

@suvi: it’s pretty strange.

I’m actually using (and testing) the plugin on http://www.video-storia.it, which is on wp 2.3.1, and the post-new.php page works properly.

Anyway I noticed some problems with the post-new.php page with wp 2.3.1 on another blog, on which I didn’t install the plugin. I also noticed that the page works correctly using the default wordpress template. You can check if this way your blog is ok.

Please let me know!

Pingback di Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 12/8
Ora: 8 dicembre 2007, 05:34

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

Pingback di Increase your internal linking and reduce suplemental results – Wordpress plugin | DailySEOblog
Ora: 8 dicembre 2007, 07:16

[…] Here’s another cool plugin that will help you to increase internal linking – WP Autolink plugin  […]

Pingback di Increase your internal linking and reduce supplemental results – Wordpress plugin | DailySEOblog
Ora: 8 dicembre 2007, 07:44

[…] Here’s another cool plugin that will help you to increase internal linking – WP Autolink plugin  […]

Commento di pilgrim
Ora: 8 dicembre 2007, 14:23

How does this plugin behave when it finds a word that it wants to make into a tag link, but the word is already a link to something else?

Commento di LB
Ora: 8 dicembre 2007, 15:42

When enabling this plug-in I received the following error..

Warning: Cannot modify header information – headers already sent by (output started at /home/techneti/public_html/talkbx/wp-content/plugins/tags-autolink.php:1) in /home/techneti/public_html/talkbx/wp-includes/pluggable.php on line 480

Warning: Cannot modify header information – headers already sent by (output started at /home/techneti/public_html/talkbx/wp-content/plugins/tags-autolink.php:1) in /home/techneti/public_html/talkbx/wp-includes/pluggable.php on line 481

Any ideas?

LB

Commento di IngaOz
Ora: 8 dicembre 2007, 15:45

Is there an option to disallow this plugin for certain posts?

Commento di Venkat
Ora: 8 dicembre 2007, 16:03

yes the plugin is breaking the template, even i had the same problem.

Commento di Thomas
Ora: 8 dicembre 2007, 22:57

I am getting the following error message with WordPress 2.3.1:

WordPress database error: [Column ‘term_id’ in field list is ambiguous]
SELECT name, term_id identificativo FROM wp_terms LEFT JOIN wp_term_taxonomy USING (term_id) WHERE taxonomy = ‘post_tag’

Any ideas?

Pingback di bonq.net/flipp » Blog Archive » daily del.icio.us [2007-12-09]
Ora: 9 dicembre 2007, 03:19

[…] WordPress Plugin Tags Autolink: Huginn e Muninn (tags: links tag plugins link tags plugin wordpress) […]

Commento di admin
Ora: 9 dicembre 2007, 14:34

@pilgrim:

when the plugin finds a word that it wants to make into a tag link, but the word is already a link, it deactivates the previous link.
I guess it’s not the best way to work, so I’ll change it in the next version.

Commento di admin
Ora: 9 dicembre 2007, 14:35

@IngaOz: for the moment there isn’t any possibility to deactivate the plugin for single posts. I could develop it in future updates.

Commento di admin
Ora: 9 dicembre 2007, 14:38

@Thomas: I think your problem depends on your sql installation (I just tested the plugin with mysql 5, but it might also work with postgre).
Which version are you using?

Commento di admin
Ora: 9 dicembre 2007, 14:47

@suvi, Venkat:
I removed the priority in the filter, maybe now you won’t have the problem. Please download and try with the “new” version (1.1). And let me know!

Commento di Thomas
Ora: 9 dicembre 2007, 23:54

I am using mySQL version 4.1.20. Is it possible you can make it compatible with this version? Many people do not have version 5 installed yet.

THomas

Pingback di WordPress Plugins For December 8 | My Blog Quest
Ora: 9 dicembre 2007, 23:55

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

Commento di oliver
Ora: 10 dicembre 2007, 11:20

Great idea you had :)

I just want to make sure, what are the “tags” you are talking about, the categories ?

Commento di admin
Ora: 10 dicembre 2007, 11:24

@oliver: no, tags and categories are different. Tags are officially developed in wp since version 2.3.

Commento di admin
Ora: 10 dicembre 2007, 11:40

@Thomas: unfortunately, as you can read here, it seems it’s a bug of older mysql versions.

Commento di oliver
Ora: 10 dicembre 2007, 11:52

Thank you for precision about the tags :)

I didn’t know that, I am still using WP 2.1.3 !

Commento di Jerry
Ora: 10 dicembre 2007, 14:07

Ciao!
Great plug-in. I use Simple Tags (http://wordpress.org/extend/plugins/simple-tags/) myself, which has an option to create the links, but your plug in is great because it is much simplier.
Thanks

Commento di Venkat
Ora: 10 dicembre 2007, 14:34

@admin I’am using PHP 4.4.6 and MySql 4.1.22 so which version should i use to make it work properly.

Commento di Venkat
Ora: 10 dicembre 2007, 14:37

i have tried the new version as well, iam still having the same problem.

Commento di admin
Ora: 10 dicembre 2007, 16:34

@Jerry: thank you!

@Venkat, what did you mean when you wrote “the plugin is breaking the template”?
Does the TinyMCE editor only show the visual editor but not the code one? Or the whole post-new.php page doesn’t work?
Please check also here if it’s your case.

Pingback di Autolink ai tuoi tags in WordPress | BLOGBURGER
Ora: 11 dicembre 2007, 22:52

[…] Plugin Home | Download  […]

Commento di pilgrim
Ora: 12 dicembre 2007, 02:33

@#8: thanks for replying. I’ll wait until the second version then :)

Pingback di わーどぷれすっ! » Tags Autolink
Ora: 12 dicembre 2007, 10:50

[…] WordPress Plugin Tags Autolink: Huginn e Muninn […]

Commento di ubuntuser
Ora: 16 dicembre 2007, 15:11

Like Thomas (#7) I am getting the following error message with WordPress 2.3.1:

WordPress database error: [Column ‘term_id’ in field list is ambiguous]
SELECT name, term_id identificativo FROM wp_terms LEFT JOIN wp_term_taxonomy USING (term_id) WHERE taxonomy = ‘post_tag’

i had to unactive it…

Commento di admin
Ora: 16 dicembre 2007, 22:51

@Thomas, ubuntuser:
I made a little change to the SQL. Can you please check how the plugin works now?

Pingback di WordPress Plugin: Tag Autolink per sfruttare i tag del nuovo WordPress 2.3 – WordPress Mania.Trucchi, notizie, plugin, temi
Ora: 18 dicembre 2007, 08:58

[…] link: WordPress Plugin Tags Autolink […]

Commento di LB
Ora: 22 dicembre 2007, 14:54

Hello, When I use the version 2.. I now get the error

Unable to add cookies, header already sent.
File: /home/techneti/public_html/talkbx/wp-content/plugins/tags-autolink-2.0.php
Line: 1

Pingback di WordPress Plugins – WordPress 插件列表 12月8日 – WordPress中文化
Ora: 22 dicembre 2007, 19:10

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

Pingback di Automatic Internal Tags Link Building in Wordpress for better SEO
Ora: 23 dicembre 2007, 04:53

[…] is the link to the wordpress plugin – wordpress tags auto link which you just need to download and activate to get […]

Commento di hunthunt
Ora: 4 gennaio 2008, 09:07

Do you have a tag auto link plugin older version?

I wanna to use it on the older version wp blog. If you have a flexible version please write back to me hunthunt2005#gmail.com

Commento di JOhn
Ora: 4 gennaio 2008, 18:46

this has the potential to be a very useful and excellent plugin. But it is not working correctly with latest version of wordpress. When i activated plugin i got disorted garabage text on my post, i thought my posts were destroyed! But problem went away when i deleted plugin (i had to delete it as i got error when i tried to deactive)

Commento di Thomas Herold
Ora: 5 gennaio 2008, 18:18

Is there a way to disable the tag links in the RSS feed?

Commento di admin
Ora: 7 gennaio 2008, 18:58

@hunthunt: I developed the plugin with the 2.3 version of wp; it cannot work with previous versions, for the database was differently built. I don’t have any available plugin that works with older wp versions.
@LB, John: I know your problems you encountered, I’m trying to resolve them.
@Thomas Herold: no, that option is not included in the plugin.

Commento di Dieter
Ora: 8 gennaio 2008, 16:10

I also had the “Headers were already sent” error message.
When I checked the plugin file “tags-autolink-2.0.php” there were some strange characters before the opening “<?php”-tag. Remove these and you’ll get rid of the error message.
At first sight, all works fine on my WP 2.3.1 install.

Thanks for the great work!

Commento di Dieter
Ora: 8 gennaio 2008, 16:27

If you don’t want any deleted tags to show as a hyperlink, replace the mysql-query in the plugin by this one:

$tags = $wpdb->get_results(“SELECT name, term_id AS identificativo FROM $wpdb->terms LEFT JOIN $wpdb->term_taxonomy USING (term_id) INNER JOIN $wpdb->term_relationships USING (term_taxonomy_id) WHERE taxonomy = ‘post_tag'”);

It now works perfect for me! ;-)

Commento di admin
Ora: 10 gennaio 2008, 14:25

@Dieter: first of all, many thanks for your kind suggestions.
I cannot understand why I cannot see the strange characters before the opening

"< ?php"

tag. I tried to open the plugin file with different tools, but I never see them. Which tool did you use? Can you please email me the file you updated?
I do also think your improvement would work well (though I think a very few people would edit or delete the tags in the mysql). Anyway I will include it in the new release.

Commento di Dieter
Ora: 11 gennaio 2008, 17:24

I sent you my latest modified version! If you didn’t get it, mail me yourself because I had to guess your mailaddress ;-)

Commento di hunthunt
Ora: 14 gennaio 2008, 04:31

Ok,thanks I get it.

Pingback di Wordpress SEO : Great Search Engine Optimization boost plugins for your WP blog | Fili’s tech
Ora: 16 gennaio 2008, 08:44

[…] 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. […]

Pingback di Wordpress SEO : Great Search Engine Optimization boost plugins for your WP blog | Fili’s tech
Ora: 16 gennaio 2008, 08:44

[…] 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 wordpress tester
Ora: 17 gennaio 2008, 08:33

I m having a lot of problems with this plugin, as I had with autolink category : it mess up with the theme and send error message everywhere

Commento di eylultoprak
Ora: 28 gennaio 2008, 22:00

Ok,thanks I get it.

according to subject, does tag show a link in the wikipedia

Commento di LB
Ora: 29 gennaio 2008, 21:14

Hello .. Have you looked into our issues yet with the errors we are having? Thanks..

Pingback di Wordpress Plugins: Listed for Jan. 2008Wordpress Plugins: Listed for Jan. 2008
Ora: 30 gennaio 2008, 13:51

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

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.
hunthunt2005@gmail.com

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

@pozmu:
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 http://wordpress.org/extend/plugins/simple-tags/ 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.name, t.term_id identificativo FROM $wpdb->terms t LEFT JOIN $wpdb->term_taxonomy USING (term_id) WHERE taxonomy = ‘post_tag’

Sara

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/www.miosito.org/home/wp-content/themes/natural-essence-10/searchform.php) [function.main]: failed to open stream: No such file or directory in /web/htdocs/www.miosito.org/home/wp-content/themes/natural-essence-10/archive.php on line 57

Warning: main() [function.include]: Failed opening ‘/web/htdocs/www.miosito.org/home/wp-content/themes/natural-essence-10/searchform.php’ for inclusion (include_path=’.:/php/lib/php/’) in /web/htdocs/www.miosito.org/home/wp-content/themes/natural-essence-10/archive.php on line 57

cosa vuol dire?
grazie

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 ยอดนิยม | Ohomoney.com – หาเงิน หาไฟล์ จัดให้! ..
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

Hi,
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.
Thanks!

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






7 × sette =