The HTTP Loopback Connections are not enabled on this server error message in WordPress is usually rare and you might only encounter it when visiting certain pages or using specific features.
In this case, I received the HTTP Loopback Connections are not enabled on this server message while using the Demo Content Importer from the Unyson plugin with an error message that looks something like this.
Important: HTTP Loopback Connections are not enabled on this server. If you need to contact your web host, tell them that when PHP tries to connect back to the site at the URL `https://namadomain.tld/wp-admin/admin-ajax.php` and it gets the error `Invalid JSON response`. There may be a problem with the server configuration (e.g., local DNS problems, mod_security, etc.) preventing connections from working properly.
Are you getting the same error message? You can follow this tutorial to fix it.
How to Fix HTTP Loopback Connections are not enabled on this server
There are several possible causes for this error, including:
- Incorrect redirect or firewall configuration in Cloudflare or similar CDNs
- Temporary Error
- The website redirects when accessed, and your browser is still using a cache from before the redirect
- There is a DNS configuration error where the domain is not connected to the server
- Security features like ModSecurity are incorrectly blocking requests
So, how do you fix it? You can try the following options
Option 1: Pause Cloudflare
If you use a CDN service like Cloudflare, you can pause it so that the rules or firewall causing the error are also paused.
To pause Cloudflare, you can log in to the Cloudflare website here: https://dash.cloudflare.com/, then for your website on Cloudflare, select the Pause Cloudflare on this site option found under Advanced Actions on the Overview page.
Option 2: Disable Security Plugins
If you use a security plugin like WordFence, you may need to try disabling it, as the security plugin might be blocking an IP that should not be blocked (false positive).
Option 3: Disable or Whitelist Imunify
If your hosting uses Imunify, you might need to temporarily disable it if possible. If you do not have access to manage Imunify, you can try contacting your hosting provider to disable it (this is usually not possible if you are on shared hosting) or whitelist the blocked IP.
Option 4: Disable All Plugins
You can also try the most basic WordPress troubleshooting method, which is disabling plugins.
It is possible that the plugins you are using are causing a conflict. If this happens, you should try disabling all plugins except for the one you are currently using until you get the HTTP Loopback Connections are not enabled on this server error.
Option 5: Contact Your Hosting Provider
If you still cannot resolve this issue, you can try contacting your hosting provider to check if there is a specific server-side block causing the HTTP Loopback Connections are not enabled on this server error.
Those are some of the ways you can try if you encounter the HTTP Loopback Connections are not enabled on this server error in WordPress.
COMMENTS
Loading...