Visualizzazione risultati 1 fino 9 di 9

Discussione: Err_too_many_redirects LOOP

  1. #1
    UtilityWeb non è connesso Utente AlterBlog
    Data registrazione
    15-05-2017
    Messaggi
    17

    Exclamation Err_too_many_redirects LOOP

    Salve ingegneri di Altervista, mi rivolgo a voi perchè non riesco più a venirne a capo purtroppo, il problema principale è che dopo aver eseguito correttamente upgrade di wordpress e il database come da richiesto, non riesco più ad effettuare il Login! cioè mi da errore ERR_TOO_MANY_REDIRECTS quindi ho effettuato tali procedure:

    1 - cancellato cookie e cache dal browser
    2 - tentato di rinominare da ftp il file .htaccess in .old ma niente
    3 - disattivato i plugins e tema ma niente

    Spero che voi mi possiate aiutare grazie!

    Questa è uno screen di come si presenti quando tento il Login http://prntscr.com/mk6d4z

    Questo è il mio file .htaccess (è cosi da anni quindi non ricordo come mai c'è scritto tanta roba)

    Codice:
    # BEGIN WP Rocket v3.2.3.1
    # Use UTF-8 encoding for anything served text/plain or text/html
    AddDefaultCharset UTF-8
    # Force UTF-8 for a number of file formats
    <IfModule mod_mime.c>
    AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml
    </IfModule>
    
    # FileETag None is not enough for every server.
    <IfModule mod_headers.c>
    Header unset ETag
    </IfModule>
    
    # Since weÃÃâ€*’¢â‚¬â„¢re sending far-future expires, we donÃÃâ€*’¢â‚¬â„¢t need ETags for static content.
    # developer.yahoo.com/performance/rules.html#etags
    FileETag None
    
    <IfModule mod_alias.c>
    <FilesMatch "\.(html|htm|rtf|rtx|txt|xsd|xsl|xml)$">
    <IfModule mod_headers.c>
    Header set X-Powered-By "WP Rocket/3.2.3.1"
    Header unset Pragma
    Header append Cache-Control "public"
    Header unset Last-Modified
    </IfModule>
    </FilesMatch>
    
    <FilesMatch "\.(css|htc|js|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$">
    <IfModule mod_headers.c>
    Header unset Pragma
    Header append Cache-Control "public"
    </IfModule>
    </FilesMatch>
    </IfModule>
    
    # Expires headers (for better cache control)
    <IfModule mod_expires.c>
    	ExpiresActive on
    	# Perhaps better to whitelist expires rules? Perhaps.
    	ExpiresDefault                              "access plus 1 month"
    	# cache.appcache needs re-requests in FF 3.6 (thanks Remy ~Introducing HTML5)
    	ExpiresByType text/cache-manifest           "access plus 0 seconds"
    	# Your document html
    	ExpiresByType text/html                     "access plus 0 seconds"
    	# Data
    	ExpiresByType text/xml                      "access plus 0 seconds"
    	ExpiresByType application/xml               "access plus 0 seconds"
    	ExpiresByType application/json              "access plus 0 seconds"
    	# Feed
    	ExpiresByType application/rss+xml           "access plus 1 hour"
    	ExpiresByType application/atom+xml          "access plus 1 hour"
    	# Favicon (cannot be renamed)
    	ExpiresByType image/x-icon                  "access plus 1 week"
    	# Media: images, video, audio
    	ExpiresByType image/gif                     "access plus 4 months"
    	ExpiresByType image/png                     "access plus 4 months"
    	ExpiresByType image/jpeg                    "access plus 4 months"
    	ExpiresByType image/webp                    "access plus 4 months"
    	ExpiresByType video/ogg                     "access plus 1 month"
    	ExpiresByType audio/ogg                     "access plus 1 month"
    	ExpiresByType video/mp4                     "access plus 1 month"
    	ExpiresByType video/webm                    "access plus 1 month"
    	# HTC files  (css3pie)
    	ExpiresByType text/x-component              "access plus 1 month"
    	# Webfonts
    	ExpiresByType application/x-font-ttf        "access plus 1 month"
    	ExpiresByType font/opentype                 "access plus 1 month"
    	ExpiresByType application/x-font-woff       "access plus 1 month"
    	ExpiresByType application/x-font-woff2      "access plus 1 month"
    	ExpiresByType image/svg+xml                 "access plus 1 month"
    	ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
    	# CSS and JavaScript
    	ExpiresByType text/css                      "access plus 1 year"
    	ExpiresByType application/javascript        "access plus 1 year"
    </IfModule>
    # Gzip compression
    <IfModule mod_deflate.c>
    # Active compression
    SetOutputFilter DEFLATE
    # Force deflate for mangled headers
    <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
    SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
    RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
    # DonÃÃâ€*’¢â‚¬â„¢t compress images and other uncompressible content
    SetEnvIfNoCase Request_URI \
    \.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|avi|swf|mp?g|mp4|webm|webp|pdf)$ no-gzip dont-vary
    </IfModule>
    </IfModule>
    
    # Compress all output labeled with one of the following MIME-types
    <IfModule mod_filter.c>
    AddOutputFilterByType DEFLATE application/atom+xml \
    		                          application/javascript \
    		                          application/json \
    		                          application/rss+xml \
    		                          application/vnd.ms-fontobject \
    		                          application/x-font-ttf \
    		                          application/xhtml+xml \
    		                          application/xml \
    		                          font/opentype \
    		                          image/svg+xml \
    		                          image/x-icon \
    		                          text/css \
    		                          text/html \
    		                          text/plain \
    		                          text/x-component \
    		                          text/xml
    </IfModule>
    <IfModule mod_headers.c>
    Header append Vary: Accept-Encoding
    </IfModule>
    </IfModule>
    
    # END WP Rocket
    
    # #  max esecution
    php_value upload_max_filesize 256M
    php_value post_max_size 256M
    php_value memory_limit 512M
    php_value max_execution_time 300
    php_value max_input_time 300
    # 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
    # BEGIN AV_HTTPS
    RewriteCond %{HTTP:X-Forwarded-Proto} !=https
    RewriteCond %{HTTPS} =off
    RewriteRule . https://utilityweb.altervista.org%{REQUEST_URI} [L,R=301]
    SetEnv AV_TOOLBAR 0
    # END AV_HTTPS
    # # av:php5-engine
    AddHandler av-php7 .php

  2. #2
    L'avatar di alemoppo
    alemoppo non è connesso Staff AV
    Data registrazione
    24-08-2008
    Residenza
    PU / BO
    Messaggi
    22,067

    Predefinito

    Se hai alterBlog, hai già provato a riparare da qui?
    Se hai alterSito, hai per caso un .htaccess anche nella cartella wp-admin?

    Dal .htaccess principale sembra che tu abbia plugin inutili (come quelli per la cache), che ti consiglierei di rimuovere.


    Ciao!
    Ultima modifica di alemoppo : 12-02-2019 alle ore 20.24.31

  3. #3
    UtilityWeb non è connesso Utente AlterBlog
    Data registrazione
    15-05-2017
    Messaggi
    17

    Predefinito

    Ciao alemoppo, grazie per la tua risposta.. comunque no non è un Alterblog ma un Altersito.. cosa mi consigli di fare per ripristinare al meglio il mio file .htaccess? (ps.. ho https no http non so se può aiutare)

    EDIT: Questo è ciò che succede se tento di loggare come nel mio solito.. https://utilityweb.altervista.org/wp-login.php

    EDIT 2: Ho letto dopo "Se hai alterSito, hai per caso un .htaccess anche nella cartella wp-admin?" ti rispondo ora, no non esiste un file .htaccess in quella cartella
    Ultima modifica di UtilityWeb : 12-02-2019 alle ore 20.32.04

  4. #4
    L'avatar di alemoppo
    alemoppo non è connesso Staff AV
    Data registrazione
    24-08-2008
    Residenza
    PU / BO
    Messaggi
    22,067

    Predefinito

    Sì, avevo già visto quell'indirizzo.

    Puoi però verificare se hai un file .htaccess dentro la cartella "wp-admin"?

    Ciao!

  5. #5
    UtilityWeb non è connesso Utente AlterBlog
    Data registrazione
    15-05-2017
    Messaggi
    17

    Predefinito

    Grazie sempre per la pazienza alemoppo, avevo scritto su EDIT 2 sempre sullo stesso mio messaggio di prima.. pardon cmq no su wp-admin non cè tale file :(

  6. #6
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Come hai disabilitato i plugin attivi?

  7. #7
    UtilityWeb non è connesso Utente AlterBlog
    Data registrazione
    15-05-2017
    Messaggi
    17

    Predefinito

    Ciao Karl94, Li avevo disabilitati tramite ftp rinominando la cartella stessa dei plugins e creandone una nuova vuota... ho sbagliato? :(

    EDIT: Non sò se può aiutare, io dalla versione 4.9.9 alla 5.0.3 sono passato oggi stesso e subito dopo questo errore che non mi fa loggare.

    EDIT 2: Da altervista cliccando su ACCEDI di wordpress mi da il link del mio sito in http e non https come nel solito, quindi è un problema del vostro AGGIORNAMENTO che mi ha causato questo problema??

    DOMANDA: Ripristinando i permalink riuscirei a risolvere questo problema?? se si.. come si fa senza fare il login ed entrare nella mia dashboard?

    Sono disperato....
    Ultima modifica di UtilityWeb : 12-02-2019 alle ore 22.27.56

  8. #8
    UtilityWeb non è connesso Utente AlterBlog
    Data registrazione
    15-05-2017
    Messaggi
    17

    Predefinito

    HO RISOLTO Facendo il ripristino Database di wordpress dalla 5.0.3 sono passato di nuovo alla 4.9.9..... Operazione "no sense" secondo me.. forse prenderò la decisione di migrare da qualche altra parte... sto avendo troppe esperienze negative con Altervista.. mi spiace ma è la verità...

  9. #9
    L'avatar di alemoppo
    alemoppo non è connesso Staff AV
    Data registrazione
    24-08-2008
    Residenza
    PU / BO
    Messaggi
    22,067

    Predefinito

    Citazione Originalmente inviato da UtilityWeb Visualizza messaggio
    forse prenderò la decisione di migrare da qualche altra parte... sto avendo troppe esperienze negative con Altervista.. mi spiace ma è la verità...
    Se non utilizzi AlterBlog devi gestirti tu lo spazio e le varie installazioni. Se ci sono incompatibilità tra plugin o con la nuova versione di WP, qualsiasi hosting tu utilizzerai avrai comunque gli stessi problemi. In ogni caso sei ovviamente liberissimo di migrare dove vuoi.

    Ciao!

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •