Too many redirects in wordpress site

There are several reasons behind too many redirections in the WordPress site, here we discuss each of them in detail:

Disable plugin:

Log in to your WordPress dashboard  > Plugins > deactivate, once you have done this, access your website and check if issue has been fixed or not.

Cloudflare redirection:

This issue can be caused due to inappropriate configuration with Cloudflare settings, the SSL HTTPS settings may be changed,

in order to fix this issue, you have to log in to your Cloudflare panel and set your URL SSL settings to FULL if your site URL begins with HTTPS and need to select flexible if your site URL begins with HTTP.

 

Clear browser cookies:

You can try by clearing the local browser's cookie and cache, for example, if your default browser is google chrome then you can clear the browser cookie cache by following the below steps:

Open Chrome browser > settings > clear browsing data > clear data.

same you can delete the browser's cookie and cache for another browser in their settings tab.

once you clear the cache please refresh your website and check if the issue has been fixed or not

 

.htaccess file:

May be due to modification in the .htaccess file may cause this issue, you have to check that PHP is using the standard PHP version and it is different from managed, maybe you have to require to add new settings again.

In order to solve this please open the .htaccess file from the site root folder and rename it to .htaccess_old to secure the backup.

Create a new file from the hosting control panel and paste the below configuration.

 BEGIN WordPress 

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

# END WordPress

 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

SQL server- network related or instance-specific error happened while connection establishing

  Instance-specific or network related error happening while connecting to SQL server   Please...

OleDB connection string examples

OleDB connection string examples MS Access (Jet) "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA...

Do you allow custom COM components?

Do you allow custom COM components? We are not offering to install the custom COM components...

Error when accessing a WCF services

Error when accessing a WCF services Error when accessing a WCF service: "IIS specified...

How to cache static contents to client with UseMaxAge?

You can consider to caches static contents to the client with UseMaxAge if your website has too...

Powered by WHMCompleteSolution