Home › Forum › Installazione WP › Trasferire WP
-
AutorePost
-
-
8 Marzo 2012 alle 20:57 #21019Harry80Partecipante
Salve ragazzi,
ho WordPress 3.3.1 bello che completo e funzionate in locale, per trasferirlo in remoto sono giusti questi passaggi?
– copio in FTP tutta la mia installazione
– modifico il file wp-config.php con i dati del mio hosting
– esporto il DB locale
– apro il DB esportato in locale e sostituisco tutte le URL locali con quelle remote (in sostanza da http://localhost ecc all’URL del dominio)
– reimporto in remoto il DB modificato
Da questo momento tutto dovrebbe funzionare oppure ho sbagliato qualche passaggio? Non so, devo modificare qualche file PHP dei Plugin o del tema che uso, oppure i riferimenti del dominio risiedono solo in wp-config.php e nel DB?
-
9 Marzo 2012 alle 14:46 #94246Alt Design Web AgencyPartecipante
Tutto corretto.
Fai attenzione al passaggio in cui cambi l’url da http://localhost al nome del dominio. Ricordati di inserire anche l’eventuale www.
Controlla inoltre di non aver nessun riferimento a localhost dentro ai file del tema (php, css). Se hai usato
bloginfo('url')
e path relativi sul css non dovresti avere problemi.
-
9 Marzo 2012 alle 17:08 #94259Harry80Partecipante
Grazie!
Mi confermi quindi che i riferimenti dell’URL sono solo nel DB, wp-config.php ed eventualmente nei files del tema, ma non quindi in altri files come quelli dei plugins?
Eventualmente, per curiosità , esiste qualche altro metodo superiore a questo? Rimango dell’idea comunque che quando le cose si fanno con facilità ed in maniera manuale, è la cosa migliore…
-
10 Marzo 2012 alle 12:36 #94267Alt Design Web AgencyPartecipante
Io uso il metodo da te descritto. Di superiore non conosco niente. Magari qualche altro utente del forum potrebbe illuminarci
I plugins usano sempre bloginfo(‘url’) e compagnia per le info che gli servono, quindi non ci sono problemi. Procedi tranquillo, l’ho fatto su centinaia di installazioni WordPress da locale a remoto.
-
10 Marzo 2012 alle 20:20 #94293Harry80Partecipante
Grazie, procederò con la maniera manuale!
Piccolo OT: che struttura permalink mi consigli di usare ai fini di un buon SEO? La formula anno mese giorno nome post viene penalizzata nell’indicizzazione dei motori di ricerca?
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.