Home › Forum › Problemi Vari con WP › cambiare struttura permalink
-
AutorePost
-
-
4 Ottobre 2009 alle 20:01 #11773MassimoVitaliPartecipante
è possibile cambiare la struttura dei permalink da http://www.mio sito.com/?p=123 a http://www.mio sito.com/%postname%/ e non perdere nessun collegamento interno ed esterno al sito?
-
5 Ottobre 2009 alle 18:15 #68657SteveAglAmministratore del forum
Basta impostare i permalinl e i wvecchi link saranno comunque raggiungibile
-
6 Ottobre 2009 alle 17:26 #68671MassimoVitaliPartecipante
no steve non sono raggiungibili perchè.. io ho dei link che collegano a dei file posti in una cartella esterna a wp-content ecc..
per la home tutto funzione mentre per le categorie ad esempio..
se prima avevo un link con permalink ?p=123 che collegava ad una pagina tipo
http://www.miosito.it/Album/cartella/index.html
se cambio la struttura viene:
http://www.miosito.it/category/nome categoria/Album/cartella/index.html
quindi tutti i collegamenti saltano.. come posso fare per rimediare?
grazie per la disponibilità
-
6 Ottobre 2009 alle 17:48 #68672SteveAglAmministratore del forum
Usare uno dei tanti plugin per fare il redirect sul repository di wordpress.org ne trovi diversi… anche se non ho capito come un link WP ad una pagina o articolo (col P=) potesse puntare a una file in una dir diversa.. a meno che tu abbia dei mod rewrite nell’htaccess
-
6 Ottobre 2009 alle 18:34 #68675MassimoVitaliPartecipante
sisi conosco già dei plugin che fanno un redirect.. ma devo inserire ogni link e io in una categoria ne posso avere piu di 70 che rimandano a quella cartella di cui parlavo.. un modo per fare un redirect di una categoria non esiste?
mod rewrite cioè?
grazie steve
-
24 Novembre 2009 alle 15:47 #69825niklamuxPartecipante
Ciao ragazzi, io dovrei reindirizzare i miei vecchi link, ancora attivi e funzionanti verso i nuovi permalink. Mi spiego:
Ecco cosa succede in google webmaster tool:
3 permalink attivi e funzionanti per ogni post singolo
Esempio post: Pagerank e penalizzazion…….
1° Link
/2009/08/08/pagerank-e-penalizzazione-google-creareonline-ritorna-a-pr-3-ma-mi-aspettavo-di-meglio-ho-risolto-cosi
2° link, ( ho aggiunto nel tempo un numero a fine post nei permalink )
/2009/08/08/pagerank-e-penalizzazione-google-creareonline-ritorna-a-pr-3-ma-mi-aspettavo-di-meglio-ho-risolto-cosi/post-002982
3° Link, ( ho tolto la data dai permalink e ho messo la categoria li vorrei tutti cosଠinsomma )
/ottimizzare-blog/pagerank-e-penalizzazione-google-creareonline-ritorna-a-pr-3-ma-mi-aspettavo-di-meglio-ho-risolto-cosi/post-002982
Quindi vorrei reindirizzare i primi 2 permalink al 3° per usare solo quest’ultimo e non avere ne errori e ne contenuti duplicati.
L’ideale sarebbe un redirect da questa forma:
/%year%/%monthnum%/%day%/%postname%/
a questa:
/%category%/%postname%/post-00%post_id%
Per quanto riguarda il redirect dal 1° link al 3° e invece un altro redirect tipo da questo:
/%year%/%monthnum%/%day%/%postname%/post-00%post_id%
a questo:
/%category%/%postname%/post-00%post_id%
Per quanto riguarda il redirect dal 2° link al 3°!!
Ma non ho la più pallida idea di come fare!!!!!!!!!!!!!!
Ditemi se è possibile o sto sognando! Voi come fareste?
Premetto che ho già fatto un disallow nel robot.txt per l’url tipo:
/2007/
/2008/
/2009/
in modo che google ignori tutti i vecchi url.
Il problema resta per i vecchi url sparsi nel web che riportano a pagine attive e funzionanti ma senza annunci adsense che prontamente li ha bloccati sulle vecchie pagine! ( come da robot )
Spero di non avervi fatto vomitare Sono nelle vostre mani. Il sito in questione è creareonline.it e uso wordpress, hosting linux
Un saluto da Nik Lamux
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.