← All articles
Security

WordPress Too Many Redirects Error: 7 Quick Fixes

Learn what causes WordPress redirect loops and how to fix them by reviewing website URLs, HTTPS settings, plugins, server rules, and caching.

zeyweb team·8 min read

The WordPress too many redirects error occurs when a website repeatedly sends a browser from one URL to another without reaching the requested page. Instead of loading the content, the browser detects a redirect loop and stops the process.

This problem can affect the entire website, the WordPress login page, or only specific URLs. It often appears after changing a domain, enabling HTTPS, modifying redirect settings, installing a plugin, or adjusting a CDN or hosting configuration.

Although the error can look serious, it is frequently caused by conflicting settings rather than a damaged WordPress installation. The key is to identify where the redirect cycle begins and correct the conflicting configuration without making unnecessary changes.

If your website redirects visitors to unfamiliar or malicious destinations, the issue may be related to a security compromise rather than a simple configuration error. In such cases, professional website security and malware recovery can help identify the source of the redirects, remove malicious code, and restore your website's security.

What Does the Too Many Redirects Error Mean?

A redirect tells a browser that a requested page has moved to another address. Redirects are commonly used when a website changes its domain, switches from HTTP to HTTPS, or replaces an old URL with a new one.

A redirect loop happens when two or more rules repeatedly send the browser between different addresses.

wordpress too many redirects

For example, one setting may send visitors from HTTP to HTTPS, while another setting incorrectly sends them back to HTTP. The browser continues following these instructions until it reaches its redirect limit.

Depending on the browser, the message may appear as: - This page isn't working. - The page redirected you too many times. - Too many redirects. - ERR_TOO_MANY_REDIRECTS. The message does not necessarily mean that WordPress itself is broken. The issue may originate from browser cookies, website URLs, SSL configuration, plugins, server rules, or proxy settings.

Why Does WordPress Keep Redirecting?

Several configuration problems can cause repeated redirects.

Conflicting URL settings: WordPress may have different values for its website address and WordPress installation address.

HTTPS configuration problems: The hosting server, WordPress, or a CDN may apply conflicting HTTP-to-HTTPS rules.

Plugin conflicts: Redirect, caching, security, or SSL-related plugins may introduce rules that conflict with one another.

Incorrect server rules: Redirect instructions in server configuration files may send visitors to an unexpected destination.

CDN or proxy settings: A reverse proxy may handle HTTPS differently from the origin server, creating a loop between the two systems.

Outdated cookies: Stored browser information can sometimes interfere with login and redirect behavior.

Before troubleshooting plugin-related redirect issues, learn how to perform a WordPress plugin vulnerability check to identify potentially unsafe extensions.

The following seven fixes address the most common causes.

Fix 1: Clear Browser Cookies and Cache

Start with the simplest possible explanation: the browser may be using outdated cookies or cached information.

This is particularly relevant when the error appears on one device but the website works normally on another.

To test the issue: 1. Open the website in a private or incognito browser window. 2. Check whether the page loads correctly. 3. If it works, clear the cookies and cached data associated with the website. 4. Close and reopen the browser. 5. Visit the website again. You do not necessarily need to delete all browsing data. Removing the stored information for the affected domain is usually a more targeted approach.

If the error continues in a private window and across multiple browsers, the cause is more likely to be related to the website or server configuration.

WordPress login troubleshooting also recommends checking browser cookies and cache when authentication problems occur.

Fix 2: Check WordPress Site URL Settings

WordPress uses two important URL settings: - WordPress Address (URL): The address where the WordPress core files are installed. - Site Address (URL): The address visitors use to access the website. On many websites, these values are identical. However, some installations intentionally use different addresses.

If one setting uses HTTP while the other uses HTTPS, or if one contains an outdated domain, WordPress may repeatedly redirect visitors.

Review both settings in the WordPress dashboard under General Settings, if you can access it.

If the dashboard is unavailable, a website administrator may need to review the relevant configuration through the hosting environment or database.

Do not change these values randomly. First confirm the website's intended domain, protocol, and installation location. An incorrect change can make the dashboard inaccessible.

Also check whether the site has recently moved to another domain or changed from HTTP to HTTPS. Old URL references may remain in the database and require a carefully planned update.

Fix 3: Review HTTPS and SSL Settings

An SSL certificate allows a website to use HTTPS. However, having an active certificate does not automatically guarantee that every part of the website handles HTTPS correctly.

A redirect loop may occur when WordPress, the hosting server, and a proxy or CDN each apply different protocol rules.

For example, the hosting server may recognize the original visitor connection as HTTP even though the visitor is using HTTPS through a proxy. WordPress may then repeatedly attempt to redirect the request to HTTPS.

Check the following: - Whether the SSL certificate is valid and correctly installed. - Whether the website uses one consistent preferred protocol. - Whether the hosting provider has enabled HTTPS correctly. - Whether a CDN or proxy is forwarding the original connection information properly. - Whether multiple systems are enforcing separate HTTPS redirects. If you recently enabled an SSL certificate or changed the website's HTTPS settings, review those changes first.

Avoid activating several SSL or redirect features at the same time. A single, consistent redirect policy is easier to maintain and troubleshoot.

Fix 4: Temporarily Disable Plugins

Plugins can create redirect conflicts, especially when several extensions manage SSL, caching, security, or URL redirection.

If you suspect a plugin, test the website with plugins temporarily disabled. This should be done carefully, particularly on websites that depend on e-commerce, membership, or other essential features.

A controlled process is: 1. Create a backup. 2. Record the active plugins. 3. Temporarily disable the plugins that may affect redirects. 4. Test the affected website pages. 5. If the error disappears, reactivate the plugins individually. 6. Test the website after each activation to identify the conflicting extension. If you cannot access the WordPress dashboard, a qualified administrator may use the hosting file manager or another supported recovery method to temporarily disable plugins. If your website uses Cloudflare, understanding Cloudflare Error 522 and how to fix it can also help you troubleshoot server and proxy configuration problems.

wordpress too many redirects

Do not leave essential plugins disabled after testing. Once the conflicting extension has been identified, check for updates, review its configuration, or consider a suitable replacement.

Fix 5: Check CDN and Proxy Configuration

Content delivery networks and reverse proxies can improve website performance, but their HTTPS and redirect settings must match the origin server.

If the CDN handles HTTPS while the origin server expects HTTP, the website may repeatedly redirect requests between the two systems.

Review the CDN configuration and confirm: - The correct origin server is configured. - The SSL mode matches the certificate and server setup. - The preferred website protocol is consistent. - No duplicate redirect rules are active. - The origin server correctly recognizes forwarded connection information. If Cloudflare or another proxy is involved, review its SSL settings alongside the hosting provider's configuration.

Do not switch security settings without understanding their effect. If the correct configuration is unclear, ask the hosting provider to confirm how HTTPS traffic reaches the origin server.

Fix 6: Review Redirect Rules

Redirect rules may be configured in WordPress plugins, hosting control panels, or server configuration files.

When two systems contain conflicting instructions, the browser may enter a loop.

Review recently changed redirect rules and look for: - Rules that send HTTPS traffic back to HTTP. - Rules that alternate between the www and non-www versions. - Repeated redirects between two different domains. - Rules that point a destination back to the original URL. - Duplicate rules created by different plugins or server settings. For example, a website may be configured to use the non-www version of its domain, while another rule sends visitors to the www version. If both rules continually reverse each other, the result is a redirect loop.

Keep a record of existing rules before changing them. If the server configuration is managed by the hosting provider, ask for assistance rather than modifying unfamiliar settings.

Fix 7: Clear Website and Server Cache

Caching systems may continue serving outdated redirect responses after the original configuration has been corrected.

Depending on the website, cached information may exist in several places: - WordPress caching plugins. - Hosting-level server cache. - CDN cache. - Browser cache. After correcting the underlying redirect problem, clear the relevant caches. Then test the website in a private browser window.

Clearing cache before correcting the actual cause may provide only temporary relief. If conflicting redirect rules remain active, the error can return. If your website redirects visitors to suspicious destinations, follow these steps to recover a hacked website safely.

How to Prevent Redirect Errors

A few maintenance practices can reduce the chance of future redirect loops: - Keep WordPress core, plugins, and themes updated. - Use one consistent preferred domain and HTTPS configuration. - Avoid installing multiple plugins that perform the same redirect function. - Document changes to DNS, SSL, hosting, and CDN settings. - Test major configuration changes before applying them to a production website. - Keep regular backups of website files and the database. - Review redirect rules after domain migrations. If the website is business-critical, consider using a staging environment to test changes before they affect visitors.

Frequently Asked Questions

What causes the WordPress too many redirects error?

Common causes include conflicting site URL settings, HTTPS configuration problems, plugin conflicts, incorrect server rules, and CDN or proxy settings.

Can cookies cause a redirect loop?

Yes. Outdated or inconsistent cookies can sometimes interfere with website access or login behavior. Testing in a private window helps determine whether browser data is involved.

Does the error mean my WordPress website has been hacked?

Not necessarily. Redirect loops are commonly caused by configuration problems. However, unexpected redirects to unfamiliar websites should be investigated as a possible security issue.

Can a plugin cause too many redirects?

Yes. Redirect, SSL, caching, and security plugins can conflict with one another or with server-level rules.

Will clearing the cache fix the problem?

It may help when outdated cached redirects are involved. However, if the underlying configuration is incorrect, the error may return.

Why does my WordPress dashboard also show a redirect error?

The dashboard uses the same website URL, HTTPS, cookie, and plugin configuration as the public website. A problem with these settings can therefore affect both the login page and the front end.

wordpress too many redirects

Final Thoughts

The WordPress too many redirects error is usually caused by conflicting instructions rather than a fundamental problem with WordPress. Start by checking browser cookies and site URL settings, then review HTTPS configuration, plugins, proxy settings, redirect rules, and caching systems. Make one change at a time and keep a backup before modifying important settings. This approach makes it easier to identify the source of the loop and restore normal website access without introducing additional problems. Regular website maintenance helps prevent configuration problems and keeps WordPress, plugins, and server settings properly maintained.

Written by the zeyweb team

Developers, designers and engineers who build, fix and support websites, apps and systems for businesses worldwide.

About us →

Responses