• Hello!

    We’re trying to launch a new website for a popular SAAS product’s marketing website.

    Problem Definition.
    – They have a live website hosted on WP Engine production environment.
    – We built a new site for them, with a new theme (DIVI), on a WP Engine staging site.
    – When we migrate the staging environment to the live site, without changing any DNS settings, we get a “too many redirects” loop on the home page (and only on the home page).

    The redirect headers show that it’s coming from WordPress, and that it’s from the domain to itself (not between www and non-www, or HTTP and HTTPS)

    Things We’ve Tried, that did not resolve the issue
    1) Recreating Wp-Config.php
    2) Deleting and Re-adding .htaccess
    3) Reinstalling core files
    4) Deleting all plugins
    5) Changing the theme to 2023
    6) Changing the site URLs in the wp-options table / settings panel
    7) Clearing cloudflare cache
    8) Disabling proxy in cloudflare
    9) Run Search & Replace on all database tables
    10) Delete database tables relating to redirection plugins, even after deleting the plugin themself.
    11) Create a new WordPress install, migrate all site data (via the tools drop down) and wp-content folder, and try launching that.
    12) Setting different page as the home page.

    Things that DO resolve the issue (but we can’t leave the site like that)
    1) Launching the website to a different domain in a different hosting account.
    2) Launching a totally blank WordPress site with no themes or plugins added to it to the main domain.

    And this one is the kicker.

    3) Setting the home page to display “Latest Posts” instead of a static page DOES solve the issue.

    I honestly don’t know what else to test. Any other ideas?

Viewing 1 replies (of 1 total)
  • Hi @maxsher,
    Apologies for the inconvenience. You have already taken the necessary steps to troubleshoot the issue. Here are a few more suggestions that may help you resolve the problem:

    1. Verify the SSL certificate of the website. An incorrectly configured certificate can lead to a redirect loop.

    2. Ensure that the DNS records are pointing to the correct IP address for the website.

    3. Check for any third-party scripts or code causing the redirect loop. This could include Google Analytics or other tracking scripts.

    4. Try disabling all custom functions and code in the website’s theme and see if that resolves the issue. If it does, you can re-enable them one by one to identify the source of the problem.

    5. Examine the website’s error logs for any clues about the cause of the issue.

    I hope these suggestions are of assistance. Please do not hesitate to reach out if you have any other questions.

Viewing 1 replies (of 1 total)

The topic ‘Persistent Redirect Loop (Desparate Cry for Help)’ is closed to new replies.