Arama Yap Mesaj Gönder
Biz Sizi Arayalım
+90
X
X
X
X

Knowledge Base

Homepage Knowledge Base General WordPress Too Many Redirects Error ...

Bize Ulaşın

Konum Halkalı merkez mahallesi fatih cd ozgur apt no 46 , Küçükçekmece , İstanbul , 34303 , TR

WordPress Too Many Redirects Error and Solutions

One of the common errors WordPress users encounter is the "Too Many Redirects" warning. This issue usually stems from conflicts in site URL settings, .htaccess redirect rules, or SSL configuration.

1. Correcting site_url and home Fields via PhpMyAdmin

If the siteurl and home values in the wp_options table in the WordPress database are incorrectly or conflictingly entered as HTTPS, this can cause an infinite loop.

Steps:

  • Log in to PhpMyAdmin

  • Select the relevant database

  • Open the wp_options table

  • In the first two rows, change the values in the siteurl and home fields from https://... to http://....

Example:

siteurl: http://example.com
home:    http://example.com

After the change, refresh the page to check if the redirection problem is resolved.


2. Checking the .htaccess File

A missing or corrupted .htaccess file like the one below can also cause a redirection error.

Problematic Example:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
</IfModule>
# END WordPress

Correct and Complete .htaccess Example:

# 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

This structure ensures that WordPress runs the redirection mechanism properly through index.php.


3. URL Fixing via wp-config.php (Advanced)

If you do not have admin panel access or the redirection still persists, add the following lines to the wp-config.php file:

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

This structure overrides the database values and directly fixes the URL via PHP.


4. Browser and Cache Cleaning

Browser cookies and redirection cache can make incorrect redirections permanent. Testing should be done by clearing browser history and cookies. Also, server-side cache (LiteSpeed Cache, WP Super Cache, etc.) should be cleared.


Conclusion

In WordPress, the too many redirects error usually stems from HTTPS/HTTP conflicts in URL settings, missing .htaccess rules, or caching issues. A solution can be provided quickly with the above methods.

 

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(3158 times viewed / 84 people found it helpful)

Call now to get more detailed information about our products and services.

Top