Huginn e Muninn

Blog del Centro Studi La Runa



Plugin per Wordpress ‘Categories Autolink’

17 luglio, 2007 (08:33) | Plugin WordPress | Di: admin

I just created an easy script for WordPress which automatically converts categories names, when cited in posts or pages, into links to the same categories. So I called it Categories Autolink.

It means that if writing an article you cite a category of your blog (for instance “Storia“), that word automatically changes into a link to the cited category.

It’s a pretty easy plugin, written in PHP/SQL, which I release with the GPL license. It is very useful for the search engine optimization. When I upgrade it, I’ll publish all the news about it in this post.

Here you can download the .zip file for wordpress till version 2.2 included or the .zip file for version from 2.3.

Installation:

1) unzip the file;

2) upload it in the wp-content/plugins/ folder;

3) active in WordPress -> Plugin;

* * * * *

La necessità mi ha spinto ha creare un piccolo script per Wordpress che svolge in automatico un lavoro noioso: trasforma le singole occorrenze dei nomi delle categorie all’interno di articoli e pagine in link alle stesse.

In parole più semplici, se mentre si scrive un articolo si cita una categoria del proprio blog (per esempio “Storia“), quella parola si trasforma automaticamente in un link alla categoria stessa.

E’ uno script piuttosto semplice, scritto in PHP/SQL, che metto a disposizione come plugin per chi voglia utilizzarlo con licenza GPL. E’ molto utile per l’ottimizzazione dei risultati sui motori di ricerca. Se farò delle migliorie allo script, “rilasciando nuove versioni”, le pubblicherò qui.

Download:

Qui si possono scaricare il file .zip per le versioni di wordpress sino alla 2.2 compresa oppure il file .zip per le versioni di wordpress dalla 2.3 in avanti.

Installazione:

1) decompattare il file .zip;

2) caricarlo nella propria cartella wp-content/plugins/

3) attivarlo in WordPress -> Plugin;

Bookmark and Share

Commenti

Pingback di links for 2007-07-17 « Aggregatore
Ora: 17 luglio 2007, 17:24

[...] Plugin per Wordpress ‘Categories Autolink’ Plugin per Wordpress che linka automaticamente i nomi delle categorie alle stesse quando le si cita in un articolo o in una pagina del blog. (tags: plugin wordpress wp categories autolink link blog category) [...]

Commento di J.P.
Ora: 18 luglio 2007, 07:34

Interesante idea, sonno probando il suop plugino!

Pingback di » [Plugin] Nuovo plugin per categorie
Ora: 18 luglio 2007, 08:52

[...] per categorie Salve a tutti, ho creato il mio primo plugin e ve lo segnalo. Si tratta di Categories Autolink. E’ disponibile per il download. Fa una semplice operazione: linka automaticamente le categorie [...]

Pingback di Categories Autolink Plugin » D’ Technology Weblog: Technology News & Reviews
Ora: 18 luglio 2007, 23:30

[...] Plugins Page | Download [...]

Pingback di Noticias y artículos interesantes del 2007-07-18 | hombrelobo, una mente dispersa
Ora: 19 luglio 2007, 00:32

[...] 10 – Plugin per Wordpress ‘Categories Autolink’ | Huginn e Muninn [...]

Pingback di plugintest | http://cibis.de
Ora: 19 luglio 2007, 01:23

[...] cool.. funktioniert. Habe grad das Categories Autolink Plugin getestet. Gibts unter [...]

Pingback di INSERISCI LINK ALLE CATEGORIE IN AUTOMATICO
Ora: 19 luglio 2007, 08:41

[...] Plugin Home | Download [...]

Pingback di BloggingPro China » WordPress Plugin: Categories Autolink
Ora: 20 luglio 2007, 12:09

[...] €€  Categories Autolink,将文章和页面中同分类相同的字符自动转换相关的分类链接。 €€  上传激活。 Tags: autolink, categories, link [...]

Commento di hombrelobo
Ora: 21 luglio 2007, 09:39

Hi,

when I activate it, I get following error:

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM wp_categories' at line 1]
SELECT cat_ID, cat_name, FROM wp_categories

Any suggestion ?

Commento di admin
Ora: 4 agosto 2007, 16:26

@hombrelobo: there was a little error in the 1.01 version of the plugin (one exceeding comma in the SQL query). I just corrected it: you can download the new version (1.02) that is working well.

Commento di hombrelobo
Ora: 4 agosto 2007, 19:00

Now it works beautifully …. :D

Thanks a lot !!!

Commento di hombrelobo
Ora: 5 agosto 2007, 11:04

One more minor bug …. (sorry … :D ).

I have a category called USA. If I type a sentence in Spanish like “el usa eso” (he uses that, very common), it gets changed to “el USA eso”, and USA links to the category I have refering to the United States, which is not right …..

Can the categories only match exact capitalization ??

Thanks a lot again :)

Commento di admin
Ora: 5 agosto 2007, 20:12

@hombrelobo: it’s a good question. I tried to make the plugin work the way you mean but it’s not easy to do, for me. Anyway I hope I’ll arrange it someway to make it work case-sensitive soon!

Pingback di ‘Categories Autolink’ Wordpress Plugin
Ora: 7 agosto 2007, 15:57

[...] Visit the plugin’s page [...]

Pingback di 5 Crucial, but Invisible, Wordpress Plugins on the Oak Innovations Blog
Ora: 13 agosto 2007, 17:24

[...] Plugins – I use two plugins on this blog that counteract my inherent laziness. The first is Categories Autolink, which turns any word that matches the name of a category on your blog, into a link pointing to [...]

Commento di Jens
Ora: 27 agosto 2007, 14:18

Nice idea! I used sem-smartlink until now to get quick links to categories, but your plugin is much easier to use!

Pingback di Der wilde Garten | links for 2007-08-06
Ora: 30 agosto 2007, 13:56

[...] Plugin per Wordpress ‚Categories Autolink‘ | Huginn e Muninn Plugin, das aotomatisch zur dazugehörigen Kategorie verlinkt. (tags: WordPress plugin blog) [...]

Pingback di How to Effectively add Links to your Blog Posts on the Oak Innovations Blog
Ora: 8 settembre 2007, 20:57

[...] post. One will automatically turn typed URLs into hyperlinks, and the other will automatically turn category names into hyperlinks. Both these plugins require very little to no maintenance and just work as advertised. I [...]

Pingback di » DUbbio Su Plugin !!! Categories Autolink
Ora: 11 settembre 2007, 17:10

[...] che Categories Autolink non c’entri con le chiavi di accesso "sgrammaticate", dato che linka esattamente il nome [...]

Pingback di » I Plugin per Wordpress fatti dagli utenti GT
Ora: 13 settembre 2007, 15:21

[...] Categories Autolink Compatibilit Wordpress: tutteLingue: inglese Demo: Categories Autolink Download: Categories [...]

Pingback di My reader’s best posts | Infektia.net
Ora: 19 settembre 2007, 20:31

[...] Categories Autolink – WordPress plugin by Alberto A WordPress plugin that automatically converts categories names, when cited in posts or pages, into links to the same categories! [...]

Pingback di » Plugin Wordpress su Wordpress.org
Ora: 25 settembre 2007, 17:00

[...] Wordpress su Wordpress.org Salve a tutti, avendo creato tempo fa un plugin per wordpress, Categories Autolink, mi venuta la bella idea di provare a inserirlo su wordpress.org/extend/plugins La cosa si [...]

Pingback di Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 10/8
Ora: 8 ottobre 2007, 05:36

[...] fixes and everything about blogging, especially with Wordpress. Go ahead, subscribe to our feed!Categories Autolink automatically converts categories names, when cited in posts or pages, into links to the same [...]

Pingback di Versione aggiornata di Categories Autolink | Huginn e Muninn
Ora: 8 ottobre 2007, 11:32

[...] rilasciato una nuova versione aggiornata del plugin per Wordpress Categories Autolink, che genera automaticamente i link verso le categorie quando esse sono nominate all’interno [...]

Pingback di Are Bloggers Permitted To Have Days Off? | Web 2.0 How-To Spot-er
Ora: 8 ottobre 2007, 14:00

[...] Categories Autolink does one thing and does it well – creates links to your categories from within content when matching category name is found. [...]

Commento di Tim
Ora: 8 ottobre 2007, 14:02

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

Commento di admin
Ora: 8 ottobre 2007, 15:51

@Tim:

I guess that error was due to a different MySQL installation.
I made some light changes to the plugin, and uploaded a lightly modified version.
You can check if it works on your blog now.

Pingback di » I Plugin per Wordpress fatti dagli utenti GT
Ora: 8 ottobre 2007, 16:26

[...] Categories Autolink Compatibilit Wordpress: tutte Lingue: inglese Demo: Categories Autolink Download: Categories Autolink Screenshot [...]

Pingback di BlogBroker » WordPress Plugin Releases for 10/8
Ora: 9 ottobre 2007, 14:15

[...] Categories Autolink automatically converts categories names, when cited in posts or pages, into links to the same categories. [...]

Pingback di Ambot ah! » SEO and Monetizing Speedlinks October 11 2007
Ora: 10 ottobre 2007, 22:16

[...] http://headzoo.com/alinks – creates a a link automatically when word is mentioned in pages and posts. Really helpful in providing your visitors with better site navigation. [...]

Pingback di WordPress 插件列表 10月8日 – WordPressCHINA – WordPress中文化
Ora: 11 ottobre 2007, 20:21

[...] Categories Autolink,当文章、页面里引用分类的名字的时候,自动转换为此分类的链接。 [...]

Pingback di Le plugin categories-autolink : un puissant outil de positionnement
Ora: 11 ottobre 2007, 23:10

[...] On peut télécharger ce plugin ici ou là. [...]

Commento di Emile
Ora: 13 ottobre 2007, 20:29

I get this error when posting an artical after I successfully upload and activated your plugin.
Any advice?

Warning: Cannot modify header information – headers already sent by (output started at /mounted-storage/home74c/sub006/sc42025-ZZXU/www/wp-content/plugins/categories-autolink-1.3.1.php:1) in /mounted-storage/home74c/sub006/sc42025-ZZXU/www/wp-includes/pluggable.php on line 390

Commento di mustaq
Ora: 17 ottobre 2007, 13:03

Hi

Nice plugin , i have two question

1, what willhappen tothe old link which is on category based

2, using plugin can i make all the links in the post lead to wordpress search result

Commento di admin
Ora: 17 ottobre 2007, 17:38

@Emile:
it seems your wp installation has an incompatibility with the plugin. Which wp version are you using?

@mustaq:
1. I guess you won’t have any problem with category-based links.
2. No, the plugin doesn’t create any link to search results, and unfortunately I’m not able to make such a modification to it.

Pingback di わーどぷれすっ! » Categories Autolink
Ora: 29 ottobre 2007, 14:23

[...] Plugin per Wordpress ‘Categories Autolink’ | Huginn e Muninn [...]

Pingback di BLOGBURGER: WordPress & SEO take away » Link automatico alle categorie WordPress
Ora: 31 ottobre 2007, 00:53

[...] Plugin Home | Download [...]

Pingback di Wordpress Plugin Tags Autolink: Huginn e Muninn
Ora: 6 dicembre 2007, 22:53

[...] (english) I just created my second Wordpress plugin, which is conceptually based on the previous one, Categories Autolink. [...]

Pingback di Aggiornamento ai plugin per wordpress: Huginn e Muninn
Ora: 12 dicembre 2007, 11:43

[...] just modified my two wordpress plugins Categories Autolink and Tags Autolink: the both are now at version [...]

Pingback di WordPress Plugins Database » Plugin Details » Categories Autolink for wp 2.3 or newer
Ora: 12 dicembre 2007, 16:59

[...] Visit [...]

Commento di emiliano
Ora: 28 dicembre 2007, 01:16

installando il plugin la pagina degli rss da numerosi errori

Pingback di Skylog » Blog Archive » links for 2007-12-29
Ora: 29 dicembre 2007, 07:21

[...] Plugin per Wordpress ‘Categories Autolink’ (tags: wordpress plugin) [...]

Commento di Sergio
Ora: 4 gennaio 2008, 07:26

I have the same problem as emile :
Warning: Cannot modify header information – headers already sent by (output started at /homepages/46/d1505521/htdocs/site/seoblog/wp-content/plugins/categories-autolink/categories-autolink.php:1) in /homepages/46/d1505521/htdocs/site/seoblog/wp-includes/pluggable.php on line 391

i use WP 2.3.2 and categories-autolink.php 2.0

Commento di Fabio
Ora: 7 gennaio 2008, 01:44

Stessa versione di Sergio e stesso problema

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

@Sergio, Fabio: I know the problem you encountered and I’m trying to resolve it.

Pingback di » Wordpress Plugin Tags Autolink – Parafulmini
Ora: 28 gennaio 2008, 09:32

[...] (english) I just created my second Wordpress plugin, which is conceptually based on the previous one, Categories Autolink. [...]

Commento di video divertenti vignette stupidaggini
Ora: 4 febbraio 2008, 12:04

buongiorno vorrei sapere se esiste un plug in che traduce il back end di word press in italiano e se esistono plugins che gestiscono foto gallery e video gallery, per importare anche video da youtube per intenderci.
grazie a tutti

Commento di Linux
Ora: 21 febbraio 2008, 02:21

To solve the error Warning: Cannot modify header information – headers already sent by (output started at …
just open the file with a UTF-8 editor and remove the BOM or just save it as a new file and try again.

Pingback di WordPress Plugins – WordPress 插件列表 10月8日 – WordPress中文站
Ora: 14 aprile 2008, 02:44

[...] Categories Autolink,当文章、页面里引用分类的名字的时候,自动转换为此分类的链接。 [...]

Commento di Daniel
Ora: 17 aprile 2008, 11:56

Olá,
works wp 2.5?

Commento di admin
Ora: 17 aprile 2008, 12:19

@Daniel: Yes, it’s working fine with wp 2.5

Commento di vale
Ora: 27 aprile 2008, 21:22

a me nn funziona!! come mai?

Commento di Stefanie
Ora: 30 aprile 2008, 02:05

Am I the only one that this is just not working for? I’m not getting any error messages, it just isn’t turning the words into links.

Commento di Stefanie
Ora: 30 aprile 2008, 02:06

Oh, yes, I’m sorry, I forgot to mention I’m using WP 2.3.3

Commento di Elena aka Cattivik3
Ora: 12 luglio 2008, 10:45

Ciao il plug categories-autolink-2.0 con wp 2.5.1 non mi funziona… :( come mai? il bello che su un blog funziona correttamente mentre su di un altro per niente… da cosa dipenderà?

Grazie
Elena

Pingback di Wordpress En iyi eklentiler ve açıklama 400 adet | İnternet Çöplüğü
Ora: 6 ottobre 2008, 18:52

[...] © Categories Autolink Yazı içinde bulunan kategori adlarına otomatik link [...]

Pingback di Açıklamalı 400 Wordpress Eklentisi
Ora: 25 novembre 2008, 15:42

[...] © Categories Autolink Yazı içinde bulunan kategori adlarına otomatik link [...]

Commento di antonio
Ora: 21 marzo 2009, 17:52

come mai mi compare questo errore?

Warning: preg_replace() [function.preg-replace]: Compilation failed: unmatched parentheses at offset 38 in C:\Documents and Settings\io\Desktop\TUTTOBLOG\altervista\xampplite\htdocs\wp\wp-content\plugins\categories-autolink-2.0.php on line 48
ciao

Commento di Recupero
Ora: 16 maggio 2009, 11:37

Ciao, ho provato ad installare il plugin nell’ultima versione di wordpress ma quando inserisco il nome di una categoria e pubblico l’articolo non me lo mostra come link a essa, come mai?

Pingback di Wordpress Plugin Pages Autolink | Huginn e Muninn
Ora: 17 giugno 2009, 09:55

[...] will be useful for the search engine optimization (SEO). It’s pretty similar to my previous Categories Autolink and Tags [...]

Pingback di Des plugins WordPress pour créer un glossaire sur votre blog | Blog de Référencement & Services Web
Ora: 21 luglio 2009, 20:27

[...] Categories Autolink : ce plugin ne vous permet pas d’installer un glossaire sur votre blog. Alors à quoi sert-il ? C’est un outil qui permet de relier automatiquement un lien vers le terme défini dans votre glossaire. [...]

Commento di luisa
Ora: 9 gennaio 2010, 17:59

Ho scoperto i template o siti di wordpress ma non sò come fare per installarlo!? Sevono dei plugin particolari…? Salvo il template e poi non sò come fare per vederne la pagina….Grazie infinite………..Luisa

Scrivi un commento