Coder Social home page Coder Social logo

Comments (1)

agomezmoron avatar agomezmoron commented on June 18, 2024

Hi,

Thanks for the info and the new bndiagnostic code. I visited your website using the curl command-line tool and I think I know what’s causing your errors. The curl command failed with a curl: (47) Maximum (50) redirects followed error message, which is the same ERR_TOO_MANY_REDIRECTS I get using the browser. Find below part of the trace of the curl command

$ curl -LI "http://lalala***world.com"
HTTP/1.1 302 Found
Date: Thu, 25 Nov 2021 09:20:26 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Location: https://lalala***world.com/
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 301 Moved Permanently
Date: Thu, 25 Nov 2021 09:20:27 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Location: https://www.lalala***world.com/
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 301 Moved Permanently
Date: Thu, 25 Nov 2021 09:20:28 GMT
Server: Apache
X-Powered-By: PHP/7.4.7
X-Redirect-By: WordPress
Set-Cookie: uncode_privacy[consent_types]=%5B%5D; expires=Fri, 25-Nov-2022 09:20:28 GMT; Max-Age=31536000; path=/; secure; SameSite=Strict
X-Frame-Options: SAMEORIGIN
Location: https://lalala***world.com/
Content-Type: text/html; charset=UTF-8

HTTP/1.1 301 Moved Permanently
Date: Thu, 25 Nov 2021 09:20:28 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Location: https://www.lalala***world.com/
Content-Type: text/html; charset=iso-8859-1
(...)
curl: (47) Maximum (50) redirects followed

As you can see, Apache is redirecting all requests to https://www.yourdomain.com, but WordPress is configured with https://yourdomain.com only (no www subdomain), which is causing the redirect loop. Can you update the wp-config.php with https://www.YOUR_DOMAIN.com (remember to replace the YOUR_DOMAIN placeholder), restart Apache and try again?

If you continue having issues, please run the tool again and share it with us so we can check the updated config.

from vms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.