Home › Forum › Plugin e temi di WP › richiesta spiegazione per installare WP Super Cache
-
AutorePost
-
-
23 Novembre 2008 alle 16:58 #8576AvelixPartecipante
Ciao a tutti, come da titolo e visto che non conoscendo bene l’inglese, se utilizzo traduttori on line mi viene il mal di testa..
Qualche anima pia mi potrebbe dire come installare questo plugins, quali sono i passi da fare?
Ps. non scherzo, con il traduttore on line già dalle prime righe non si capisce come procedere e si rischia di fare disastri
Avelix
-
23 Novembre 2008 alle 18:42 #59596SteveAglAmministratore del forum
allora, come requisiti, devi avere i moduli mod mime e mod rewrite di Apache abilitati e i permalink di WP attivati. La tua directory wp-content, il tuo file .htaccess e wp-config.php nella root del sito devono avere i permessi di scrittura.
Una volta controllato questo, carica la directory del plugin nel tuo spazio web in modo da avere
‘wp-content/plugins/wp-super-cache/’
poi copia il file advanced-cache.php in wp-content
poi attiva il plugin.
poi vai in Impostazioni -> WP Super Cache e abilita la cache
se ci sono degli errori, ti dovrebbero comparire dei messaggi che ti dicono cosa devi fare.
Controlla se è stato creato un file .htaccess in “wp-content/cache/”. Se non c’è crealo e al suo interno incolli queste righe:
# BEGIN supercache
<IfModule mod_mime.c>
AddEncoding gzip .gz
AddType text/html .gz
</IfModule>
<IfModule mod_deflate.c>
SetEnvIfNoCase Request_URI .gz$ no-gzip
</IfModule>
<IfModule mod_headers.c>
Header set Cache-Control 'max-age=300, must-revalidate'
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html A300
</IfModule>
-
23 Novembre 2008 alle 23:27 #59604AvelixPartecipante
allora, come requisiti, devi avere i moduli mod mime e mod rewrite di Apache abilitati e i permalink di WP attivati. La tua directory wp-content, il tuo file .htaccess e wp-config.php nella root del sito devono avere i permessi di scrittura.
Grazie innanzitutto.
Devo subito chiedere una cosa: dove vado a verificare e sotto quale voce/nome se ho abilitato i moduli mod mime e mod rewrite?
Con Aruba ho la possibilità di leggere il file phpinfo, dove c’è un elenco infinito di voci. Ma queste due non le ho trovate
Eventualmente posso linkare la pagina con tutte le infos…
Grazie sei stato gentilissimo e chiarissimo, prima di andare avanti risolvo quanto sopra!
Avelix
-
24 Novembre 2008 alle 0:10 #59606SteveAglAmministratore del forum
Con Aruba ho la possibilità di leggere il file phpinfo, dove c’è un elenco infinito di voci. Ma queste due non le ho trovate
Spero che tu abbia Aruba con hosting Linux, altrimenti non puoi installare il plugin dal momento che mod_rewrite è disponibile solo su server Apache + Linux. Comunque su Aruba Linux, mod_rewrite dovrebbe essere già attivo di default.
Se hai hosting Linux guarda meglio nel phpinfo, devi cercare la voce Loaded Modules nella sezione dedicata ad Apache.
Se hai solo mod_rewrite installato non dovrebbe essere un problema, in quanto mod_mime ti dovrebbe servire solo se attivi la compressione gzip dei file della cache.
-
24 Novembre 2008 alle 7:50 #59612wollyAmministratore del forum
su aruba linux funziona, è tutto attivo.
-
24 Novembre 2008 alle 12:44 #59619AvelixPartecipante
su aruba linux funziona, è tutto attivo.
Infinitamente grazie Paolo e infinitamente grazie mrbrown.
Mi ci metto dietro subito e spero vada tutto per il meglio.
Bye Avelix
Buon WordPress
-
24 Novembre 2008 alle 12:58 #59621AvelixPartecipante
poi copia il file advanced-cache.php in wp-content
Ehm…nella versione scaricata, la 0.8.4 non è presente questo file.
La cartella è cosi strutturata:
wp-super-cache
all’interno un’altra cartella che si chiama “Plugins” e che contine un solo file che si chiama searchengine.php
mentre i files presenti nella cartella “wp super cache” sono:
wp-cache-base.php
wp-cache.php
wp-cache-config-sample.php
wp-cache-phase1.php
wp-cache-phase2.php
tra l’altro, proprio perchè coi traduttori on line viene mal di testa e non si capisce una mazza, al punto due del file readmy leggo:
2. If you have WP-Cache installed already, please disable it. Edit wp-config.php and make sure the WP_CACHE define is deleted, and remove the files wp-content/wp-cache-config.php and wp-content/advanced-cache.php. These will be recreated when you install this plugin.
Però non mi è chiaro lo stesso…il file di cui mi accenni viene creato quando installo il plugins?
E qui mi dice che sde ho installato già il plugins di cancellare sia questo file che il config…
O maremma )
sono impedito, lo so
-
24 Novembre 2008 alle 14:14 #59628SteveAglAmministratore del forum
>> poi copia il file advanced-cache.php in wp-content
> Ehm…nella versione scaricata, la 0.8.4 non è presente questo file.
prendi il file ‘wp-cache-phase1.php’, copialo in ‘wp-content’ e rinominalo ‘advanced-cache.php’
Il punto 2 lascialo perdere, sono le istruzioni per chi aggiorna il plugin da una versione precedente.
-
24 Novembre 2008 alle 23:42 #59645AvelixPartecipante
>> poi copia il file advanced-cache.php in wp-content
> Ehm…nella versione scaricata, la 0.8.4 non è presente questo file.
prendi il file ‘wp-cache-phase1.php’, copialo in ‘wp-content’ e rinominalo ‘advanced-cache.php’
Il punto 2 lascialo perdere, sono le istruzioni per chi aggiorna il plugin da una versione precedente.
Eccomi qui.
A quanto pare tutto è andato per il meglio, l’unico avviso che mi visualizza è questo:
Directly Cached Files (advanced use only)
WARNING! /web/htdocs/www.orologipertutti.it/home/ is writable. Please make it readonly after your page is generated as this is a security risk.
Poi ci sono degli ulteriosi settaggi che mi vengono richiesti e che ho lasciato come erano.
Provo a testare il blog ed eventualmente ritorno per chiedere chiarimenti sui settaggi che mi vengono chiesti.
Grazie per la pazienza!!!
Buon wordpress
Avelix
-
22 Gennaio 2009 alle 10:19 #61606ernusPartecipante
Ciao a tutti,
ho provato a installare questo plugin direttamente dall’amministrazione di wordpress 2.7 ma l’installazione è fallita e adesso il blog non va nel senso che mi esce una pagina bianca mentre cerca di caricare all’infinito. Cosa è successo e come faccio a ripristinare?
aggiungo che osservando le cartelle in ftp noto che la data di ultima modifica mi dice che la cartella content è stata modificata ma non trovo al suo interno il file che è stato effetivamente modificato
grazie
-
22 Gennaio 2009 alle 10:26 #61608wollyAmministratore del forum
entri con ftp e cancelli il plugin,poi se hai un server linux prova a ripristinare i permessi da pannello di controllo se il tuo provider te lo mette a disposizione oppure segui le istruzioni che trovi in questo per farlo funzionare.
-
22 Gennaio 2009 alle 10:35 #61609ernusPartecipante
Infatti entro con l’ftp ma non trovo il plugin nella cartella. Non ho capito però quali permessi ripristinare.
grazie per l’aiuto
Il blog si è ripristinato… evidentemente non era stata questa operazione a renderlo down… grazie
-
22 Giugno 2009 alle 13:32 #66477dozPartecipante
Ciao ragazzi,
io non riesco a capire se la mia installazione del plugin funziona correttamente: ogni volta che ricarico la pagina e vado a controllare alla fine del codice html l’orario di generazione della pagina da parte di WP supercache, l’orario è sempre aggiornato, come se la pagina venisse sempre ricreata.
Il mio blog è qua: http://www.dozarte.com/wordpress
Qualcuno sa dirmi qualcosa?
-
22 Giugno 2009 alle 13:51 #66481SteveAglAmministratore del forum
non è che la vedi loggato come admin? nel qual caso la pagina viene sempre generata dinamicamente e non prende la cache…. i messaggi che supercache aggiunge sono chiari e ben spiegati nelle sue istruzioni.
-
24 Giugno 2009 alle 7:35 #66550dozPartecipante
Grazie Steve per la tua risposta!
…ma anche se non sono loggato, ogni volta che ricarico una pagina mi pare che la riga in fondo al codice sorgente mi dica che la pagina in cache è stata nuovamente ricreata!
<!-- Cached page generated by WP-Super-Cache on (...e qui cambia ogni volta) -->
-
24 Giugno 2009 alle 8:09 #66554SteveAglAmministratore del forum
Se sei admin la pagina viene generata al volo con eventuali elementi cachati wp-cache se attivati, se NON sei loggato come admin la pagina viene sempre presa dalla chahe di WP_Super-cache e viene rigenerata solo dopo il tempo di expire impostato.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.