Risposte nei forum create
-
AutorePost
-
11 Settembre 2017 alle 10:19 in risposta a: Problema con frammenti di codice HTML in articolo #121872TittiModeratore
Veramente usare pre è la possibilità *più semplice* e meno macchinosa che c’è, macchinoso magari è il sistema che usi e il copia/incolla, cosa che non capisco ma che probabilmente, se la fai, avrai i tuoi buoni motivi per fare. Data questa personalizzazione non so che altro dirti visto che il problema delle perdite sembra risiedere proprio nei copia-incolla.
Posso solo dirti di cercare un altro plugin che ti vada meglio tra i molti che permettono di inserire codice, o continuare a usare quello che dici già di usare magari chiedendo supporto all’autore, o altri consigliati nella pagina che tu stesso hai fornito o mediante ricerche simili:
TittiModeratoreA questo punto, posto che rimane comunque principalmente un problema di URL dell’installazione locale (copia e incolla nel tuo browser l’indirizzo che già ti avevo dato – view-source:http://www.gastesrl.com/ – e lo vedi da te), è inutile continuare a cercare di rappezzare un trasferimento non portato a buon fine.
Cancella tutto e rifai tutto da capo su un’installazione pulita, assicurandoti di avere gli opportuni backup e seguendo la semplice guida che ti ho dato, un’altra affidabile o la stessa che avevi seguito, stavolta però facendo tutti i passi e non fermandoti a metà come hai fatto prima.
Non c’è nessun problema di intasamento, questo è il tuo topic e può proseguire fin quando vorrai. Non facciamo assistenza privata.
TittiModeratoreTutte e tre insieme
TittiModeratoreUPDATE wp_options SET option_value = replace(option_value, ‘localhost:8888/gastesrl/’, ‘www.gastesrl.com/’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
UPDATE wp_posts SET guid = replace(guid, ‘localhost:8888/gastesrl/’,’www.gastesrl.com/’);
UPDATE wp_postmeta SET meta_value = replace(meta_value,’localhost:8888/gastesrl/’,’www.gastesrl.com/’);
—
Ho dato per scontato che il prefisso delle tue tabelle sia wp_, se non è cosà¬, cambia con quello giusto.
8 Settembre 2017 alle 17:18 in risposta a: Problema con frammenti di codice HTML in articolo #121860TittiModeratoreNon so di che articolo parli.
Non c’è nessun problema di codice: ripeto, devi essere in visuale e aver selezionato preformattato.
8 Settembre 2017 alle 10:00 in risposta a: Problema con frammenti di codice HTML in articolo #121857TittiModeratoreNon vedo il problema, a me funziona normalmente.
Ovviamente devi essere in “visuale” e aver selezionato “preformattato”. Salvi e il risultato è questo: http://funkyimg.com/i/2x9cj.jpg
TittiModeratore“Pagina del database” non so cosa sia. Devi aprire il tuo database con PHPmyAdmin, o dal pannello di controllo del tuo host se preferisci, e una volta aperto il tab SQL inserisci ed esegui quella query cosଠcome te l’ho data. Sostituirà tutti i localhost:8888/gastesrl/ di quella tabella con http://www.gastesrl.com/.
PS: se non basta lo faremo anche su altre tabelle
TittiModeratore? quale bug?
Devi fare la query SQL che ti ho dato!
E il link che ti ho dato, non l’hai aperto?
TittiModeratoreVeramente gli URL delle foto sono gli unici giusti (immagino siano quelle immagini che hai caricato tu direttamente da WP), sono sbagliati gli indirizzi del tema, dei plugin, e quindi dei file (e dei fogli stile):
view-source:http://www.gastesrl.com/
TittiModeratoreQuando si aggiorna, si fanno trasferimenti o altre operazioni di questo tipo, la “base di arrivo” (cioè in questo caso il tuo WP live) deve essere in situazione di default, vale a dire senza plugin o con plugin tutti disattivati, e con il tema di default. Solo quando il sito in questa situazione base funziona come dovrebbe, si installano o si attivano via via plugin o temi, UNO alla volta. Quindi disattiva tutto ciò che non c’entra con l’installazione base di WP.
Per quanto riguarda gli URL, ponendo il caso che hai fatto tutto il resto giusto, prima di fare eventualmente danni con modifiche manuali, usa questa query SQL nel database (naturalmente hai già fatto tutti i backup del caso, vero?), per vedere se risolto il problema degli URL ci sono eventualmente altri problemi:
UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost:8888/gastesrl/', 'www.gastesrl.com/');
-
AutorePost