Risposte nei forum create
-
AutorePost
-
San PietroburgoPartecipante
Nella bibbia c’è tutto:
http://codex.wordpress.org/Function_Reference/apply_filters
Ed una spiegazione si può leggere anche qui:
http://stackoverflow.com/questions/2270989/what-does-apply-filters-actually-do-in-wordpress
San PietroburgoPartecipanteAlla voce “aspetto” trovi i temi; quella dei plugin deve essere un po’ più in basso, sempre nella lista sulla sinistra della bacheca.
San PietroburgoPartecipanteObsoleto perché da tempo s’è passati dal file statico, posizionato nella root del dominio, alla creazione al volo, del robots.txt, nel momento che viene richiesto visitando l’url.
Non c’è una controindicazione, ma WordPress crea dinamicamente il file robots e quindi sarebbe meglio seguire il suo metodo.
In futuro si farà altrettanto con la sitemap; questa non sarà più un file statico nella root, ma verrà creata nel momento in cui si visita la sua url.
Per esempio, del noto plugin:
http://wordpress.org/extend/plugins/google-sitemap-generator/
Al momento nel repository di WordPress c’è la versione che crea il file statico, ma nel sito di chi sviluppa il plugin è disponibile una beta che opera dinamicamente.
San PietroburgoPartecipantePartendo dal fatto che, da cPanel, il file .htaccess lo si vede modificato da un utente di nome “sesto017”; se questo sesto017 non è un suo user, e nemmeno è un admin del server.. Allora potrà rasare, pulire, aggiornare, blindare e fare qualsiasi cosa, anche scrivere nel .htaccess che può accedere al sito web solo il suo IP ed utente.. Ma sesto017 probabilmente tornerà a scassare nuovamente le cose.
Pertanto, oltre al fatto di reinstallare WordPress ed i plugin, il consiglio è di approfondire meglio le cause della compromissione del sito, scrivendo al supporto del servizio di host e chiedendo loro chi diavolo sia l’utente sesto017. Giusto per stare tranquillo; quell’utente potrebbe essere l’admin del server e allora diciamo che è normale (sempre che non gli abbiano fregato le credenziali di accesso).
In alcuni servizi di host capita che un altro utente del server condiviso riesca a scalare la vetta andando a ritroso e trovi il sistema per entrare nelle root altrui. Ecco perché, per stare tranquillo, suggerisco di chiedere al supporto delucidazioni su questa cosa.
San PietroburgoPartecipanteChi è l’hosting?
Hai aperto un ticket col servizio di host chiedendo loro chi sia l’utente del server dal nome sesto017?
Il tema lo hai controllato, e qual’è?
Spesso i temi gratuiti scaricati da siti web e non dal repository ufficiale, sono messi lଠapposta per questi scopi.
Più che aggiornare WordPress andrebbe rasato tutto a mano (tranne il file wp-config.php, la directory wp-content ed eventuali altri file e cartelle personalizzate) e via FTP caricare da una distro genuina.
19 Agosto 2012 alle 19:34 in risposta a: Impossibile attivare qTranslate: fatal error out of memory #97144San PietroburgoPartecipanteWordPress ed i plugin, idem qTranslate, necessitano di PHP 5.2.4 o superiore. Dove avresti letto di 5.3? Oltretutto la versione 5.3, sino alla 5.3.9, ha problemi di sicurezza e non la troverai installata di default nei servizi di hosting dove i sistemisti sanno le cose e si tengono aggiornati.
San PietroburgoPartecipanteIl NetWork di WordPress è una cosa, il plugin Domain Mapping tutt’altra. Il primo serve per poter creare “dinamicamente” infiniti domini di terzo livello (subdomini); col secondo, invece, sarà possibile puntare infiniti domini (idem dinamicamente) ad una sola installazione del CMS WordPress.
Quello che hanno in comune è che, per funzionare, devi avere un server dedicato, oppure un VPS in un servizio di host che permette di configurare dns alias wildcard; inoltre un indirizzo ip, o comunque che l’ip del server sia abilitato ad essere visitato e porti alle pagine (quindi non ad una landing page bianca con su scritto qualcosa riferito allo stesso servizio).
Affermi che nello spazio di host, in cui attualmente si trova la tua installazione, sono presenti altri domini fisici (non dinamici) che condividono l’indirizzo IP, e pertanto, cosà¬, non può funzionare.
..imposto un record cname che punta a xxx.com, in xxx.com devo impostare qualcosa (record A o record CNAME)..
Va impostato un asterisco che, appunto, sta a significare “qualsiasi” dominio; poi dal plugin si possono gestire i nomi dei domini che dovrà riconoscere e ricreare dinamicamente.
San PietroburgoPartecipanteSi crea dinamicamente quando serve (nel momento in cui viene visitato l’indirizzo).
Se hai intenzione di apportare modifiche o fare aggiunte; meglio uno script o plugin (cerca nel repository ufficiale) che lavori alla stessa maniera. Mettere il file statico nella root è possibile giacché, in questo caso, WordPress non lo genera più dinamicamente; ma questo tipo di approccio è obsoleto.
San PietroburgoPartecipanteEd il modulo? Prova cosà¬:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A3600
ExpiresByType application/x-javascript A3600
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType image/bmp A31536000
ExpiresByType application/java A31536000
ExpiresByType video/divx A31536000
ExpiresByType application/msword A31536000
ExpiresByType application/x-msdownload A31536000
ExpiresByType image/gif A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType application/vnd.ms-access A31536000
ExpiresByType audio/midi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType audio/mpeg A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000
ExpiresByType application/vnd.ms-project A31536000
ExpiresByType application/vnd.oasis.opendocument.database A31536000
ExpiresByType application/vnd.oasis.opendocument.chart A31536000
ExpiresByType application/vnd.oasis.opendocument.formula A31536000
ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application/vnd.oasis.opendocument.text A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType application/pdf A31536000
ExpiresByType image/png A31536000
ExpiresByType application/vnd.ms-powerpoint A31536000
ExpiresByType audio/x-realaudio A31536000
ExpiresByType application/x-shockwave-flash A31536000
ExpiresByType application/x-tar A31536000
ExpiresByType image/tiff A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000
ExpiresByType application/vnd.ms-write A31536000
ExpiresByType application/vnd.ms-excel A31536000
ExpiresByType application/zip A31536000
</IfModule>
Ovviamente puoi sostituire, modificare, aggiungere o togliere voci; idem per i valori “tempo” espressi nel mio esempio (completo) con altri.
Posiziona tutto prima delle regole di WordPress e non internamente a quelle.
Ovviamente appena sotto alle scadenze dovrai anche definire headers con la sintassi <IfModule mod_headers.c> altrimenti quelle regole saranno incomplete.
Spesso problemi del tipo da te riscontrati sono dovuti al server; prima però bisogna accertarsi che tutto sia stato scritto in maniera corretta nel file .htaccess
17 Agosto 2012 alle 10:39 in risposta a: Impossibile attivare qTranslate: fatal error out of memory #97115San PietroburgoPartecipanteBasterebbe guardare meglio la home di questo Forum, negli argomenti in evidenza trovi questo:
http://www.wpitaly.it/forum/topic.php?id=17317
Il problema non è nel plugin ma nel memory limit dell’installazione di WordPress.
-
AutorePost