Home › Forum › Problemi Vari con WP › immagini con caratteri speciali non visualizzate
-
AutorePost
-
-
3 Novembre 2016 alle 19:00 #31142flovidaPartecipante
ho spostato il mio sito ad un nuovo hosting e le immagini che contengono nel corpo del test caratteri speciali mi danno errore 404. come posso risolvere? questo è un nome file “trà¼ffelmesse.jpg” sul server è “tràƒÂ¼ffelmesse.jpg”
-
4 Novembre 2016 alle 15:37 #120995TittiModeratore
àˆ un problema di codifica del set di caratteri. Nei nomi delle immagini i caratteri speciali non vanno MAI messi.
Se hai poche immagini ti conviene correggerle manualmente per un maggior controllo, ovviamente sia via editor per aggiornarle nel DB e sia sul server via FTP, i nomi devono combaciare.
Dovresti però anche scoprire la causa, se sei passato ad un nuovo server (dando per scontato che non sia un grave problema di incompetenza del nuovo gestore di server) avrai anche un nuovo database quindi potrebbe non esserci corrispondenza tra il set di caratteri dichiarato nel wp-config e quello nel database.
Leggi qui per chiarirti le idee.
Oppure potresti usare un plugin.
In entrambi i casi, che tu faccia la delicata modifica via DB o via plugin, prima fai sempre backup dei contenuti.
Non si tratta di localizzazione, spostato in > Problemi vari
-
4 Novembre 2016 alle 19:57 #121001flovidaPartecipante
Anche secondo me i caratteri speciali non dovrebbero essere usati. Purtroppo mia moglie lo ha fatto
Sul vecchio server nonostante cio le immagini sono visualizzate correttamente, quindi presuppongo che ci sia il modo per decodificare e codificare i caratteri ascii.
Per tamponare il problema ho sostituito i caratteri ashii con i rispettivi caratteri e tutto funziona!
ora salvo il DB e provo ad usare il plugin che mi hai suggerito.
Grazie per l’aiuto
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.