WordPress Too Many Redirects Error — General Fix
WordPress Fix Guide

WordPress Redirect Loop After Moving Host Fix

Expert fix — from $59
Response in 2 min
No fix, no charge

What Is Happening Right Now

Your WordPress site is completely inaccessible, trapped in an endless redirect loop. When visitors or you try to access any page, the browser displays an error like "ERR_TOO_MANY_REDIRECTS" or "This page isn’t working. [your-domain.com] redirected you too many times.".

This critical error typically occurs immediately after a significant site alteration: a wordpress redirect loop after moving host, a wordpress redirect loop after domain change, updating your WordPress siteurl or home values, or even after installing or activating a new plugin. It can also manifest as a wordpress checkout redirect loop if you're running WooCommerce, making transactions impossible.

The browser is receiving instructions to redirect from one URL to another, then back to the first, or to a third, and so on, in an infinite cycle. This prevents any content from loading, rendering your site completely offline.

Common Symptoms & Triage

Browser shows "ERR_TOO_MANY_REDIRECTS" or "This page isn’t working."

The most direct symptom of a redirect loop. Your browser has given up trying to resolve the redirect chain.

Site worked fine until I changed my domain or moved hosts.

Indicates a mismatch between the WordPress database URL settings and the server configuration or actual domain.

Admin login page redirects back to itself or the homepage.

Often points to incorrect siteurl/home settings, or a plugin interfering with authentication redirects. See our guide on WordPress Admin and Login Page Redirect Loop for more specific advice.

WooCommerce checkout or cart pages are looping.

Suggests a conflict with WooCommerce endpoints, permalinks, or a plugin affecting the checkout flow. This is a common wordpress redirect loop woocommerce issue.

What Happens If You Wait

A redirect loop is a critical error that brings your site to a complete halt. Every minute your site is down, you are losing potential customers, sales, and trust. This isn't an issue that will resolve itself.

  • Within 24 Hours: Immediate loss of revenue if your site is e-commerce, lead generation, or advertising-based. Users attempting to access your site will encounter a broken experience, leading to frustration and a negative perception of your brand. Search engines will quickly detect the downtime.
  • Within 48 Hours: Search engine rankings will begin to suffer. Google and other search engines will see your site as unreliable or broken, potentially de-indexing pages or significantly lowering your site's authority. This compounds the direct loss of traffic and business.
  • Within 1 Week: Sustained downtime can lead to severe, long-term damage to your SEO. Recovering lost rankings and rebuilding user trust takes significantly more effort and time than preventing the damage in the first place. Competitors will gain an advantage as your site remains inaccessible.

The financial and reputational cost of inaction far outweighs the cost of a swift, professional fix. Your site needs immediate attention.

Fix Steps: Diagnosing & Resolving the Redirect Loop

This guide assumes you have SSH/SFTP access to your server and database access (e.g., via phpMyAdmin). If you don't, contact your host or consider our emergency WordPress support.

Primary Causes of WordPress Redirect Loops

CAUSE 01

Incorrect WordPress Address (URL) or Site Address (URL)

This is the most frequent culprit, especially after a wordpress redirect loop after domain change or wordpress redirect loop after moving host. A mismatch between the siteurl and home values in your WordPress database and the actual domain your site is accessed from creates an infinite loop. This often leads to a wordpress siteurl redirect loop.

Most common

CAUSE 02

Misconfigured .htaccess File

The .htaccess file, located in your WordPress root directory, handles redirects and permalinks. Incorrect rules, especially after a migration or manual edits, can easily cause a redirect loop. This is often seen with a wordpress redirect loop after changing permalink structure.

CAUSE 03

Plugin Conflicts or Corruptions

Certain plugins, particularly those related to SEO, caching, security, or redirects, can introduce redirect rules that conflict with WordPress core or other server configurations. This is a common cause for a wordpress redirect loop after plugin install, or specifically a wordpress redirect loop woocommerce if a plugin is interfering with checkout flows.

CAUSE 04

Server-Level Redirects (Nginx/Apache)

Sometimes, redirects are configured at the web server level (e.g., in Apache's httpd.conf or Nginx's nginx.conf). These can override or conflict with WordPress settings, leading to a loop, especially during host migrations.

Step-by-Step Resolution

1

Clear Browser Cache & Cookies

Before diving into server-side changes, eliminate client-side caching issues. Your browser might be stubbornly holding onto old redirect instructions. Clear your browser's cache and cookies entirely, then try accessing your site in an incognito/private window. This confirms the issue isn't local to your machine.

Chrome: Settings > Privacy and security > Clear browsing data > All time > Cookies and other site data, Cached images and files.
Firefox: Options > Privacy & Security > Cookies and Site Data > Clear Data...
Edge: Settings > Privacy, search, and services > Clear browsing data > Choose what to clear > All time > Cookies and other site data, Cached images and files.

✓ ~2 minutes. Essential first step to rule out local issues.

2

Verify WordPress Address (URL) in wp-config.php

The most common cause of a wordpress redirect loop after changing site url is a mismatch in the siteurl and home settings. These can be hardcoded in wp-config.php, overriding database values, or set directly in the database. First, check your wp-config.php file in your WordPress root directory via SFTP/FTP or file manager. Ensure these values match your actual domain exactly, including http:// or https://.

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

If these lines exist and are incorrect, update them. If they don't exist, proceed to the next step to check the database. If they are correct, temporarily comment them out (add // at the start of each line) to ensure they aren't interfering, then re-test. Remember to replace yourdomain.com with your actual domain.

✓ ~5-10 minutes. Crucial for resolving wordpress siteurl redirect loop issues.

3

Update WordPress Address (URL) in Database

If wp-config.php didn't resolve it, or the lines weren't present, the problem lies in your database. Access your database via phpMyAdmin or a similar tool. Locate the wp_options table (your table prefix might be different, e.g., wpfx_options). Find the option_name rows for siteurl and home. Edit their option_value to your correct domain, ensuring the protocol (HTTP/HTTPS) matches your server configuration.

UPDATE wp_options SET option_value = 'https://yourdomain.com' WHERE option_name = 'siteurl';
UPDATE wp_options SET option_value = 'https://yourdomain.com' WHERE option_name = 'home';

After updating, clear any server-side cache if you have access (e.g., LiteSpeed Cache, WP Rocket). This is often the definitive fix for a wordpress redirect loop after domain change or wordpress redirect loop after moving host.

✓ ~5-15 minutes. Directly addresses fundamental URL mismatches.

4

Reset Permalinks & Regenerate .htaccess

A corrupted or incorrect .htaccess file can cause a wordpress redirect loop after changing permalink structure or after a migration. Via SFTP/FTP, navigate to your WordPress root directory. Rename your existing .htaccess file (e.g., to .htaccess_old). WordPress will automatically generate a new, clean one when you next save permalinks. If you can access your admin area, go to Settings > Permalinks and simply click "Save Changes" without altering anything. If you cannot access the admin, the basic WordPress permalink structure will be active, which might allow you to gain access.

# 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 is the standard WordPress .htaccess content. If renaming the file resolves the loop, compare the old and new files to identify the problematic rule. For deeper issues, refer to our WordPress Too Many Redirects Error — General Fix guide.

✓ ~5 minutes. Resolves issues stemming from permalink or rewrite rule conflicts.

5

Deactivate Plugins & Theme

If the above steps haven't worked, a plugin or theme is likely causing the conflict, especially if you're experiencing a wordpress redirect loop after plugin install or a specific wordpress redirect loop woocommerce issue. You'll need to deactivate them manually via SFTP/FTP. Rename the wp-content/plugins folder (e.g., to plugins_old). This will deactivate all plugins. If your site comes back online, rename it back to plugins, then reactivate plugins one by one through the WordPress admin to find the culprit. Do the same for your active theme by renaming wp-content/themes/your-active-theme (WordPress will fall back to a default theme like Twenty Twenty-Four).

# Via SFTP/FTP or file manager:
Rename /wp-content/plugins/ to /wp-content/plugins_old/
Rename /wp-content/themes/your-active-theme/ to /wp-content/themes/your-active-theme_old/

Once you identify the problematic plugin or theme, you can either remove it, seek an update, or find an alternative. For more general redirect issues, our WordPress Too Many Redirects Error — General Fix also covers common plugin-related causes.

✓ ~10-30 minutes. Isolates conflicts with third-party code.

6

Check for Server-Level Redirects (Advanced)

For advanced users or if previous steps failed, inspect your server configuration files. On Apache, look for Redirect or RewriteRule directives in httpd.conf or virtual host files. On Nginx, check server blocks in nginx.conf or site-specific configuration files for rewrite or return directives. These often occur during migrations or when SSL is improperly configured. If you recently migrated to HTTPS, review our guide on WordPress Redirect Loop After SSL or HTTPS Migration.

# Example Apache .conf snippet (check for conflicting rules):
<VirtualHost *:80>
    ServerName yourdomain.com
    Redirect permanent / https://yourdomain.com/
</VirtualHost>

# Example Nginx .conf snippet (check for conflicting rules):
server {
    listen 80;
    server_name yourdomain.com;
    return 301 https://$server_name$request_uri;
}

Incorrectly configured server redirects can override WordPress settings and create a loop. Always back up configuration files before making changes.

✓ ~15-30 minutes. Requires server administration knowledge.

Our Process: How WebFixHQ Resolves Your Redirect Loop

When you're facing a critical redirect loop, you need more than generic advice. Our senior WordPress engineers follow a precise, methodical process to identify and rectify the root cause, typically within an hour.

  1. Initial Assessment & Access: We begin by requesting secure access to your WordPress files (SFTP/cPanel) and database (phpMyAdmin). We immediately check browser developer tools (Network tab) to analyze the exact redirect chain and HTTP status codes (e.g., 301, 302) to understand where the loop originates.
  2. Core URL Verification: We prioritize checking the WP_HOME and WP_SITEURL constants in your wp-config.php file and the corresponding entries in the wp_options table of your database. Mismatches here are the most common cause, especially after a wordpress redirect loop after moving host or wordpress redirect loop after domain change. We ensure these are correctly set to your live domain and protocol.
  3. .htaccess & Server Configuration Audit: We meticulously examine your .htaccess file for conflicting or malformed rewrite rules, often comparing it against a clean WordPress default. For Nginx servers, we review the nginx.conf or virtual host configurations for server-level redirects that might be clashing. This is critical for wordpress redirect loop after changing permalink structure issues.
  4. Plugin & Theme Isolation: If core settings and server configs are correct, we systematically isolate plugins and themes. This involves renaming directories via SFTP to deactivate them en masse, then reactivating them one by one to pinpoint the exact component causing the wordpress redirect loop after plugin install or a wordpress redirect loop woocommerce.
  5. Database & Transients Cleanup: Sometimes, stale cache entries or corrupted options in the database can contribute. We inspect the wp_options table for unusual entries and clear transients that might be holding old URL data.
  6. Final Testing & Report: Once the fix is implemented, we perform comprehensive testing across different browsers and devices to ensure full site functionality. We then provide you with a detailed report of the issue, the steps taken to resolve it, and recommendations to prevent recurrence.

Our goal is not just to fix the symptom, but to address the underlying technical problem, ensuring your site remains stable and accessible.

Your Site is Down. We Can Fix It Now.

Our senior engineers specialize in emergency WordPress bug fixes, getting your site back online fast.

Get Emergency WordPress Support →

Common questions

Why did my WordPress site get a redirect loop after moving host?
This is almost always due to incorrect WordPress URL settings (siteurl and home) in your database or wp-config.php file not matching the new hosting environment's domain or protocol. The server or WordPress itself keeps trying to send traffic to the old, incorrect URL, creating an endless loop.
How long does it take WebFixHQ to fix a redirect loop?
Most WordPress redirect loops are critical and can be diagnosed and fixed by our senior engineers within 1 to 2 hours of gaining access. Our process is streamlined to identify the root cause quickly, whether it's a database mismatch, .htaccess issue, or plugin conflict.
Can I fix the WordPress redirect loop myself?
Yes, if you have technical proficiency with SFTP/cPanel and database management (phpMyAdmin), you can follow the steps outlined above. However, if you're unsure or time is critical, an incorrect change can worsen the problem. Our service ensures a fast, professional resolution without further risk.
How much does it cost to fix a WordPress redirect loop?
Our emergency WordPress bug fix service for issues like redirect loops is offered at a transparent, flat rate. You'll know the exact cost upfront before any work begins, with no hidden fees. Our goal is to get your site back online efficiently and affordably.
My WooCommerce checkout is in a redirect loop. Is this different?
While the underlying cause can be similar (URL mismatches, .htaccess), a WooCommerce checkout redirect loop often points to conflicts with specific WooCommerce settings, payment gateway plugins, or permalink structures related to shop endpoints. Our engineers are experienced with these specific WooCommerce issues and can quickly identify and resolve them.