Home › Forum › Problemi Vari con WP › Articoli Errati ed Errore 403
-
AutorePost
-
-
4 Gennaio 2014 alle 8:43 #26264BranzillaPartecipante
Buongiorno a tutti,
possiedo un blog hostato su Aruba e su server linux.
Regolarmente aggiornato all’ultima release di WP. Da un paio di settimane mi restituisce l’errore 403. Che con un semplice refresh del browser scompare. L’errore lo visualizzo casualmente. Non compare fisso in una determinata sezione/pagina o news.
Oltre a questo problema ho riscontrato che navigando tra le varie news del sito (solo con gli articoli, non con le pagine!) dopo aver visualizzato correttamente un paio di articoli, il terzo me lo visualizza con il link corretto, ma il testo dell’articolo e l’immagine sono appartenenti a quello precedente.
Ho pensato che magari questo problema di visualizzazione fosse dovuto a un plugin. Recentemente ne avevo installato uno. L’ho disattivato. Nulla, il problema rimane.
Cosଠper ulteriore contro prova ho disattivato tutti i plugin attivi; ma anche in questo caso i due problemi rimangono.
Come posso risolvere questi due problemi?
Per l’errore 403 ho già aperto un ticket su aruba.
Ma quello delle news?
E soprattutto questi due errori possono essere collegati?
Grazie
-
4 Gennaio 2014 alle 8:57 #108662wollyAmministratore del forum
Hai provato con il tema standard e a plugin tutti disattivati?
poi come da LEGGERE CON ATTENZIONE:
5 – CHIEDERE SUPPORTO PER TEMI PREMIUM, PER QUELLI DOVETE RIVOLGERVI AL VENDITORE
-
4 Gennaio 2014 alle 9:03 #108663BranzillaPartecipante
Ciao wolly,
grazie per la tua risposta. Sଠho già provato questo procedimento. Spesse volte leggo che lo consigliate come primo test e quindi ho immediatamente disattivato tutti i plugin e attivato il tema standard; ma anche in questo caso il problema persiste.
Al grafico del tema che uso attualmente ho già scritto e mi ha risposto che il problema sicuramente è dato non dal tema ma sicuramente da un plugin o in modo più grave un plugin che ha intaccato il database.
-
4 Gennaio 2014 alle 9:09 #108664wollyAmministratore del forum
Guarda, la storia del plugin che ha intaccato il database mi lascia molto perplesso.
Li è un problema di rewrite o di wpquery o di cache che non funziona correttamente o di loop scritto male.
Quindi se chi ti ha venduto il tema NON ti vuole dare supporto sul suo tema, non so cosa dirti.
A plugin disattivati e con tema standard attivato deve funzionare correttamente.
Puoi riprovare e puoi anche ricreare i permalinks per vedere se è un problema di rewrite.
-
4 Gennaio 2014 alle 11:09 #108672BranzillaPartecipante
Wolly credo tu abbia centrato il problema.
Sono andato in Impostazioni-Permalink e modificato i permalink con la prima opzione. Quella che ti tramuta tutti i link in quella predefinita:
http://www.branzilla.org/?p=123
E tutto ha ripreso a funzionare correttamente.
Zero errori o 403.
Anche gli articoli pare siano tornati tutti al suo posto. Apro la news e la visualizzo corrette.
Ora la mia domanda è la seguente. L’errore (parlo da blasfemo quindi magari posso sbagliarmi) è legato a questi permalink.
Quindi chiaramente adesso tutti i link indicizzati su Google o le anteprime sulla Pagina Personale di Facebook sono sballate (ho appena provato)
Non a caso se clicco sopra a un anteprima di facebook mi restituisce l’errore “Page not foud” perchè ovviamente lui va a pescare l’articolo “http://www.branzilla.org/?p=nomearticolo” e non “http://www.branzilla.org/?p=123”
C’è un modo per risolvere questo?
Grazie mille
-
4 Gennaio 2014 alle 11:26 #108673wollyAmministratore del forum
Si, capire perché l’url rewrite non funziona correttamente
Come ti dicevo prima le cause possono essere molte, o un plugin o il tema.
Con tutti i plugin disattivati e con il tema standard attivato (uno della famiglia twenty) DEVE funzionare tutto correttamente.
Poi si riattiva il tema e vedi se funziona tutto, poi i plugin uno ad uno ed ogni volta pulisci la cache del browser.
-
4 Gennaio 2014 alle 12:12 #108675BranzillaPartecipante
Ma è proprio qui il problema.
Con Tema predefinito e nessun plugin l’anomalia persiste.
Idem con il Tema da me utilizzato e nessun plugin l’anomalia persiste.
Mentre con il Tema predefinito o tema personalee nessun plugin; ma permalink predefiniti, il problema scompare.
Se fosse un problema di tema o plugin, con tutto inattivo (tema-plugin) dovrebbe sparire. Invece rimane. Scompare solo quando metto i permalink predefiniti.
Quindi come può essere un problema di plugin o tema, se entrambi sono disattivati?? E’ questo che non capisco.
-
4 Gennaio 2014 alle 12:46 #108676TittiModeratore
Ce l’hai il file .htaccess, e se ce l’hai com’è?
E il log degli errori che dice? E Aruba che dice?
-
4 Gennaio 2014 alle 12:56 #108677BranzillaPartecipante
Ciao Titti,
nel file .htaccess ho questo:
SetOutputFilter DEFLATE
AddOutputFilter DEFLATE text/plain
AddOutputFilter DEFLATE text/xml
AddOutputFilter DEFLATE application/xhtml+xml
AddOutputFilter DEFLATE text/css
AddOutputFilter DEFLATE application/xml
AddOutputFilter DEFLATE image/svg+xml
AddOutputFilter DEFLATE application/rss+xml
AddOutputFilter DEFLATE application/atom_xml
AddOutputFilter DEFLATE application/x-javascript
AddOutputFilter DEFLATE application/x-httpd-php
AddOutputFilter DEFLATE application/x-httpd-fastphp
AddOutputFilter DEFLATE application/x-httpd-eruby
AddOutputFilter DEFLATE text/html
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .pdf$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .avi$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .mov$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .mp3$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .mp4$ no-gzip dont-vary
SetEnvIfNoCase Request_URI .rm$ no-gzip dont-vary
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(2.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915 Obigo|LGE VX|webOS|Nokia5800).* [NC]
RewriteCond %{HTTP_user_agent} !^(w3c |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda |xda-).* [NC]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{HTTPS} on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index-https.html.gz -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index-https.html.gz" [L]
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(2.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915 Obigo|LGE VX|webOS|Nokia5800).* [NC]
RewriteCond %{HTTP_user_agent} !^(w3c |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda |xda-).* [NC]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{HTTPS} !on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz" [L]
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(2.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915 Obigo|LGE VX|webOS|Nokia5800).* [NC]
RewriteCond %{HTTP_user_agent} !^(w3c |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda |xda-).* [NC]
RewriteCond %{HTTPS} on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index-https.html -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index-https.html" [L]
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(2.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915 Obigo|LGE VX|webOS|Nokia5800).* [NC]
RewriteCond %{HTTP_user_agent} !^(w3c |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda |xda-).* [NC]
RewriteCond %{HTTPS} !on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html" [L]
</IfModule>
# END WPSuperCache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 years"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>
Aruba non risponde. Ticket aperto da ieri, ad oggi zero risposte.
Log degli errori, perdonami, ma non so dove trovarlo. -
4 Gennaio 2014 alle 13:06 #108678wollyAmministratore del forum
quel file è pieno di roba che ha a che fare con super cache e altro, come ti dicevo all’inizio poteva essere un problema di cache.
CANCELLA il file htacces, disinstalla wp super cache, ricrea i permalinks e vedrai che funziona tutto.
-
4 Gennaio 2014 alle 13:08 #108679TittiModeratore
Cancella quell’.htaccess e mettine uno base, con solo le regole di WP
Edit: non avevo visto la risposta di Wolly
-
4 Gennaio 2014 alle 13:51 #108680BranzillaPartecipante
Titti e wolly semplicemente: Grazie!!
Funziona. Se passate per Modena, MINIMO vi offro Caffè!
Grazie ancora!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.