Visualizzazione 2 filoni di risposte
Visualizzazione 2 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Da MAMP locale a remoto: problema .sql
Buongiorno a tutti, ho un problema che non riesco a risolvere nella migrazione di un sito da locale su MAMP a remoto.
Credo che il problema sia nella modifica dei vari link di riferimento nel db, con sostituzione di quelli in remoto.
Nei vari tutorial trovo solo l’istruzione di sostituzione del localhost:8888 con http://www.nomesito.com, io però ho il sito in una sottocartella, quindi sostituisco non solo localhost:8888, ma anche localhost:8888/cartella, con www,nomesito.com
Ovviamente non funziona. Quando carico il db in remoto, e apro il sito, trovo una situazione di parziale lettura del db, ad esempio i menù corrispondono, il footer idem, ma le pagine sono un miscuglio di pagine del tema.
Scorrendo il db ho notato che ci sono una marea di link che puntano a localhost in maniera strana, come questi:
“subtitle”:”Imac”,”type”:”img”,”image”:”http:\/\/localhost:8888\/sito_bmea\/wp-content\/themes\/enfold
Ma possibile che non ci sia un modo per esportare il db da phpmyadmin di MAMP senza impazzire? In fondo MAMP è fatto per creare siti in locale e poi metterli in remoto.
Grazie
Anche il sito online è installato in una sottocartella?
Se sଠbasta sostituire l’host e nient’altro. Se usi “http://localhost:8888” sostituisci con “http://www.nomesito.it”, basta anche solo “localhost:8888” con “www.nomesito.it”
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0