Cloudflare Remote Address Redirecting site to http://127.0.0.1/

Hi, lately I’ve noticed some parts of my WordPress website redirect to http://127.0.0.1/. When I checked the request headers, I noticed the remote address 104.21.28.201:443 causes the requested URL to redirect to http://127.0.0.1/.

The other parts of the website that make the request to the 188.114.97.0:443 remote address have no issue.

Disclaimer:

  1. I deactivated all my security plugins but the issue persisted
  2. I deleted my .htaccess file and used the default one that comes with WordPress yet the issue persisted.
  3. Am using the Litespeed server with CyberPanel installed.
  4. My VPS server is provided by Vultr


Is the issue still there when you switch to a default theme (twentysomething)?

The website is in production and I can’t switch to the default theme. I created a new VPS instance and migrated the website but it looks like the issue is still there.

The website is working but the request gets redirected to 127.0.0.1/ for certain remote addresses.

I just clicked on a post to edit it and the request was redirected to 127.0.0.1/ because the remote address was 104.21.28.201:443 again.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.