Reindirizza il ciclo quando si tenta di accedere a / wp-admin /
-
-
faiilbackupedeliminailfile .htaccesstake backup & Delete .htaccess File
- 0
- 2018-02-27
- ravi patel
-
5 risposta
- voti
-
- 2018-02-26
Hotrovato una soluzione.In
wp-config.php
aggiungi:define('FORCE_SSL_ADMIN', false);
Nellamia situazione,sonopassato a https da http e utilizzoilplug-in Rinomina wp-login.php
Ilmio
wp-config.php
conteneva le righe:define('WP_SITEURL','https://example.com'); define('WP_HOME','https://example.com');
Senza la riga
define('FORCE_SSL_ADMIN', false);
,si verifica un ciclo di reindirizzamento.I found a solution. In
wp-config.php
add:define('FORCE_SSL_ADMIN', false);
In my situation, I migrated to https from http, and use plugin Rename wp-login.php
My
wp-config.php
contained the lines:define('WP_SITEURL','https://example.com'); define('WP_HOME','https://example.com');
Without the line
define('FORCE_SSL_ADMIN', false);
, a redirect loop occurs.-
Grazie.Questo ha risoltoilproblema ancheperme.Penso che anche l'uso di Cloudflare abbia un ruolonel causare questo loop di reindirizzamento.Thanks. This fixed the issue for me as well. I think using Cloudflare also plays a part in causing this redirect loop.
- 4
- 2018-05-10
- hermanschutte
-
Inteorianon vuoimai chegli amministratori accedanotramite una connessionenon sicura,quindi disattivare FORCE_SSL_ADMIN di solito è una cattivaidea.In theory you never want admins to be logging in over an insecure connection, so turning off FORCE_SSL_ADMIN is usually a bad idea.
- 2
- 2018-08-03
- user45623
-
Questonon ha aiutato.This did not help.
- 0
- 2019-03-19
- haxpanel
-
Ciò è stato utileperpoterinterrompereil reindirizzamentoper accedere a WP-Admine correggere l'URL del sito lì,senecessario.Grazie!This was helpful to be able to stop the redirect in order to log into the WP-Admin and correct the site url there as needed. Thanks!
- 0
- 2020-04-11
- OG Sean
-
- 2019-01-18
Ho appena risolto unproblema con questo sintomo.Gli 8 valori chiavee salt devonoesserepresentinelfile
wp-config.php
altrimenti adminnonfunziona.Li avevonelfile,ma a causa di come hogenerato dinamicamente
wp-config.php
i valori sono stati aggiuntiin fondo alfile.Qualsiasi definizione di costante (define()
) deveessereposizionata sopra/* That's all, stop editing! Happy blogging. */
riga.Wordpressnon hafornitoerrori o registriperindicare chemancavanoelementi di configurazione.Questo ha ancheimpedito a
'WP_DEBUG', true
difunzionare.Una volta spostatitutti questielementipiùin altonelfilewp-config.php
,tutto hainiziato afunzionare.I've just solved an issue with this symptom. The 8 key and salt values must be present in the
wp-config.php
file or admin doesn't work.I had these in the file, but because of how I dynamically generated
wp-config.php
the values were appended at the bottom of the file. Any constant definitions (define()
) must be placed above the/* That's all, stop editing! Happy blogging. */
line.Wordpress gave no error or logs to indicate it was missing config items. This also stopped
'WP_DEBUG', true
working. Once I moved all of these higher in thewp-config.php
file everything started working.-
Mi sono [divertito] (https://wordpress.stackexchange.com/questions/343810/login-redirect-to-loop-with-reauth-1-cookie-expiry-set-to-1-year-in-past)con questo…I [had fun](https://wordpress.stackexchange.com/questions/343810/login-redirect-to-loop-with-reauth-1-cookie-expiry-set-to-1-year-in-past) with this…
- 0
- 2019-07-27
- William Turrell
-
- 2017-04-19
Nonpreoccuparti,tornerai rapidamente se segui questipassaggi uno alla volta,finché unonon riesce!
- Cancellai cookie : cancellai cookie delbrowser locale (segui leistruzioniperilbrowserin uso.
- Disattivatuttii plug-in - Rinomina/wp-content/plugins/directoryin plugins_OLD
- Ripristinailtemapredefinito : vai alla directory/wp-content/themes/e rinomina la directory deltema correntein qualsiasi cosa (cometheme_OLD).
- "Elimina"file .htaccess - Sempre utilizzandoil software FTP,rinominaloin .htaccess_OLD
- Aggiorna l'URL del sito - In wp-config.php aggiungi queste righe (usandoiltuo URL ovviamente):
define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com');
Don't worry, you'll be back in quick if you follow these steps one at a time, until one succeeds!
- Clear you cookies - Clear your local browser cookies (follow instructions for whatever browser you are using.
- Deactivate All Plugins - Rename /wp-content/plugins/ directory to plugins_OLD
- Revert Back to the Default Theme - Go to /wp-content/themes/ directory and rename your current theme directory to anything (like theme_OLD).
- "Delete" .htaccess File - Again using FTP software, rename this to .htaccess_OLD
- Update Site URL - In wp-config.php add these lines (using your url of course):
define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com');
-
Hotrovato le stesseistruzioni altrove sul web,ma ho saltatoiln. 5perché sembravatroppo semplice.Ilpassaggio 5 ha risoltoilmioproblema su localhost.I found the same instructions elsewhere on web, but skipped #5 because it seemed too simple. Step #5 solved my problem on localhost.
- 1
- 2018-08-18
- MTAdmin
-
- 2018-08-18
Ho avuto lo stessoproblema dopo aver spostatoilmio sito da un host diproduzione a localhostpertest di sviluppo. Ipassaggi chefunzionanoperme inproduzionenon hannofunzionato a livello locale. Adesempio,quando utilizzo Chrome comebrowser,inserendo
http://localhost/wp/wp-admin lofarebbe reindirizza a
Inserendoilmionome utente/password verrebbe reindirizzato al secondo collegamento con unanuova richiesta dinome utente/password.
Risoluzione di Firefox: aggiungi a wp-config.php:
define('WP_HOME','http://your_url.com'); define('WP_SITEURL','http://your_url.com');
Risoluzione di Chrome: rimuovi la stringa di query di reindirizzamento dallapagina di accesso: ades. http://localhost/wp/wp-login.php .
Sì,sono abbastanzanuovo su Wordpresse non sono certo al 100% delpercorsointernoper accessie reindirizzamenti dopo l'autenticazione,sono statenecessarie cosìtanteproveederroripertrovare queste due soluzioni. Si spera chepossano aiutare qualcun altro.
I had the same issue after moving my site from a production host to localhost for dev testing. Steps that work for me in production didn't work locally. For instance, when using Chrome as my browser, entering
http://localhost/wp/wp-admin would redirect to
Entering my username/password would redirect back to the second link with a new username/password prompt.
Firefox resolution: add to wp-config.php:
define('WP_HOME','http://your_url.com'); define('WP_SITEURL','http://your_url.com');
Chrome resolution: Remove the redirect querystring from the login page: e.g. http://localhost/wp/wp-login.php .
Yes, I'm fairly new to Wordpress and I'm not 100% certain of the internal route for logins and redirects after authentication, so much trial and error was involved to find these two solutions. Hopefully they can help someone else.
-
- 2018-06-22
Passo ore a cercare di risolvere questoproblema,hofattotutto.Allafine nota un registro suipermessi di scrittura delgruppo sulfile wp-login.php.Sembrava chei permessi delfile del serverfossero 664 .. li ho cambiatiin 644e ilproblema è stato risolto.
I spend hours trying to resolve this, did everything. Eventually notice a log about group write permissions on the wp-login.php file. Looked and the server file permissions were 664 .. changed them to 644 and problem solved.
Bloccatoin un cicloinfinito quandoprovo ad accedere almio sito wordpress.Digito l'URL/wp-admine poimi ritorna al sito Webnormale,non allapagina di accesso dell'amministratore.
Hoprovato con httpe https senzafortuna ...