Home › Forum › Problemi Vari con WP › permalink con solo l’ultima categoria di appartenenza
-
AutorePost
-
-
15 Dicembre 2010 alle 10:34 #16048peopleatworkPartecipante
Vorrei riorganizzare le categorie del mio sito, inserendo una struttura ad albero, ma vorrei che l’url di destinazione del post rimanesse lo stesso
Mi spiego: al momento ho tantissime categorie cat1, cat2,…, cat20 e il mio post è raggiungibile tramite l’indirizzo “nomesito/nomecategoria/titolopost”
utilizzando il permalink “%category%/%postname%”
Ora vorrei fare delle categorie di raggruppamento per suddividere per argomenti le categorie esistenti, per esempio:
gruppocat1 contiene cat1, cat2, cat3
gruppocat2 contiene cat4, cat5, cat6, cat7, cat8
….
in questo modo però l’indirizzo diventa “nomesito/nomecategoriaprincipale/nomecategoriasecondaria/titolopost”
è possibile impostare il permalink in modo che contenga solo l’ultima categoria di appartenenza?
Grazie
-
15 Dicembre 2010 alle 10:43 #79591SteveAglAmministratore del forum
Automaticamente no ma con questo plugin si:
http://wordpress.org/extend/plugins/hikari-category-permalink/
Io lo uso per avere una struttura simile alla tua ma con la macrocategoria come unico elemento…
-
15 Dicembre 2010 alle 11:06 #79595peopleatworkPartecipante
grazie, guardo subito
-
15 Dicembre 2010 alle 15:20 #79613peopleatworkPartecipante
devo dire che mi sembra perfetto per quello che devo fare…ma non riesco a farlo funzionare!
Ho installato e attivato il plugin.
Nel pannello permalink ho: “%category%/%postname%”
Ti faccio il mio esempio concreto:
ho la categoria “libri” che contiene le categorie “per argomenti” e “per età “, e all’interno della categoria “per età ” ho le categorie “3-6 anni”, “7-11 anni”, “12-16 anni”.
Creo un nuovo post nella categoria “3-6 anni” e nell’albero delle categorie a destra evidenzio in neretto solo la categoria “3-6 anni” come permalink.
E’ giusto?
Il post mi viene caricato all’indirizzo “localhost/nomesito/libri/per-eta/3-6-anni/nome-post” invece di “localhost/nomesito/3-6-anni/nome-post”
Dove sto sbagliando?
Grazie
-
15 Dicembre 2010 alle 15:52 #79615SteveAglAmministratore del forum
a me funziona perfettamente…a ttenzione che devi avere wp 3.x se no devi usare %scategory%
-
16 Dicembre 2010 alle 8:45 #79628peopleatworkPartecipante
io ho la versione 3.0.3
in effetti al contrario , come la usi tu, funziona
cioè, tornando al mio esempio (post1 è contenuto in “3-6 anni” che è contenuto in “per-eta” che è contenuto in “libri”), se gli dico, mettendolo in neretto, di utilizzare solo la categoria “libri” funziona ma se gli dico di utilizzare “3-6 anni” mi indica tutti e tre i livelli “libri/per-eta/3-6-anni”
non è che non si può fare?
-
16 Dicembre 2010 alle 10:53 #79629SteveAglAmministratore del forum
potrebbe essere un problema del plugin.. da analizzare… direi che ti conviene scrivere all’autore magari se è un baco lo risolve rapidamente.
-
20 Dicembre 2010 alle 9:37 #79761peopleatworkPartecipante
ho provato a scrivergli ma ancora non ho avuto risposta
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.