Dil:

Ara

How to Fix “Error Too Many Redirects” Issue in WordPress

  • Bunu Paylaş:
How to Fix “Error Too Many Redirects” Issue in WordPress

How to Fix “Error Too Many Redirects” Issue in WordPress

Are you stuck in a redirect loop when trying to access your WordPress site? The “ERR_TOO_MANY_REDIRECTS” error usually means your site is caught bouncing between URLs. This can be caused by incorrect site settings, .htaccess rules, or plugin conflicts.

The good news is that this issue is fixable within minutes using cPanel and a few WordPress tweaks.

What Causes the Redirect Loop in WordPress?

- Incorrect WordPress Address (URL) or Site Address (URL)
- Conflicting .htaccess redirect rules
- SSL settings mismatched (forcing HTTP to HTTPS)
- Plugin conflicts (especially cache or redirection plugins)
- Server-side redirection rules in cPanel

Step-by-Step: How to Fix the Issue

1. Clear Browser Cookies and Cache

Sometimes the error is due to local browser cache.

- Clear your browser cache and cookies
- Try accessing your site again in incognito mode or another browser

2. Check WordPress URL Settings in wp-config.php

If you can’t log into wp-admin:

- Log into cPanel > File Manager > public_html
- Edit wp-config.php and add the following:

define('WP_HOME','https://yourdomain.com');
define('WP_SITEURL','https://yourdomain.com');

Be sure to match HTTPS/HTTP to your SSL settings

3. Rename the .htaccess File

Corrupted or conflicting redirect rules in .htaccess can cause loops.

- In File Manager, go to public_html
- Rename .htaccess to .htaccess_old
- Visit your site again to test

If the issue is fixed, regenerate the file via WordPress:

Dashboard > Settings > Permalinks > Save Changes

4. Disable Redirection or Cache Plugins

A plugin might be enforcing unwanted redirects.

- Go to wp-content/plugins in File Manager
- Rename the suspected plugin folder (e.g., redirection to redirection_old)
- Reload your site

If the site works, you’ve found the issue. Remove or reconfigure that plugin.

5. Disable Force HTTPS Rules Temporarily

Check for forced HTTPS rules in wp-config.php or .htaccess:

In wp-config.php, remove or comment out this line if present:

define('FORCE_SSL_ADMIN', true);

In .htaccess, comment out SSL redirect rules to test. Example:

# RewriteCond %{HTTPS} off
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

6. Check for Server-Level Redirects

cPanel allows you to set redirects:

- Go to cPanel > Domains > Redirects
- Look for any redirect that loops back to itself
- Remove unnecessary or duplicate redirects

7. Contact Hosting Support

If the issue persists, your server might have mod_rewrite or redirection rules causing conflicts. Contact support and ask them to inspect Apache/Nginx settings.

Final Thoughts

The “Too Many Redirects” error can be frustrating but is usually caused by simple misconfigurations. With cPanel and wp-config.php access, you can fix most redirect loops quickly.

Supercharge Your Hosting Experience with RDPCore.com

At RDPCore.com, we help you stay online and error-free with:

- Full-featured cPanel hosting and redirect management
- Free SSL and HTTPS configuration assistance
- 24/7 expert WordPress support for redirect and loop errors
- Fast, reliable servers to keep you running smoothly

Stop the loops—start with RDPCore at https://rdpcore.com
 

yorum Yap

E-posta hesabınız yayımlanmayacak. Gerekli alanlar işaretlendi *