Home › Forum › Problemi Vari con WP › Bonificare meglio i permalink
-
AutorePost
-
-
13 Febbraio 2009 alle 21:12 #9472smartmousePartecipante
Salve, sul mio blog i permalink vengono generati in base al titolo del post e fin qui nessun problema.
Il problema sorge quando i titoli dei post contengono un apostrofo. Il permalink lo toglie dall’url attacando la parola.
Per esempio del post “L’indice del libro”, il permalink generato è: /lindice-del-libro.
C’è qualcosa che posso modificare per fare in modo che il permalink sia /l-indice-del-libro, o magari qualcosa di meglio?
Grazie.
-
14 Febbraio 2009 alle 6:51 #62708SteveAglAmministratore del forum
Non so se la funzione di sanitizzazione sia filtrabile e quindi possibile scrivere un plugin che “prepocessi” il permalink per gestire l’apostrofo.
Apro un ticket a riguardo per le future versioni di WP vediamo che dicono…
-
14 Febbraio 2009 alle 11:13 #62714smartmousePartecipante
Ti ringrazio!
Intanto come posso risolvere? Possibile che io sia stato l’unico a porsi questo problema?
-
14 Febbraio 2009 alle 11:25 #62715SteveAglAmministratore del forum
Ad oggi direi di si Solo intervenedo sulla funzione di generazine dei permalink (che vuol dire modificare i file di core di WP, cosa non buona), nel frattempo.. evitare gli apostrofi?
-
14 Febbraio 2009 alle 18:09 #62735smartmousePartecipante
Quindi non c’è una soluzione ad oggi.
Purtroppo non posso evitare gli apostrofi.
Grazie lo stesso
-
14 Febbraio 2009 alle 18:21 #62736SteveAglAmministratore del forum
Bhe volendo puoi forzare tu il permalink, appena scrivi il titolo e passi a scrivere il testo, appare il permalink, facendoci click sopra, non puoi mettere un – ma il carattere _ si, quindi se il titolo è L”ultimo dei Moicani ti verrà proposto lultimo-dei-moicani, che puoi far diventare l_ultimo-dei-moicani
-
15 Febbraio 2009 alle 0:45 #62741smartmousePartecipante
Hai ragione, non ci avevo proprio pensato!!
Ad ogni modo resto in attesa di una correzione del problema da parte del team di WordPress
-
17 Febbraio 2009 alle 13:19 #62830smartmousePartecipante
Cmq lo riesco ad aggiungere il – nel permalink, senza dover ricorrere all’uso del carattere _
Me lo fa fare tranquillamente.
Perchè dicevi che non si poteva fare? Mi sfugge qualcosa?
-
17 Febbraio 2009 alle 14:49 #62834SteveAglAmministratore del forum
Mi pareva lo eliminasse, ma forse era qualche mio plugin installato in locale…
-
17 Febbraio 2009 alle 23:51 #62861smartmousePartecipante
Ok, grazie di tutto!
Speriamo nella risoluzione del “problema” con le prossime release di WP.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.