Maybe your case was different from mine, but I want to share with you how I fixed this issue, hoping will be useful for other people.
In my case the issue was caused by All In One WordPress Security Plugin (AIOWS), due to “IP RETRIEVAL SETTINGS” configuration.
My site is hosted on AWS, via Elastic Beanstalk environment and I have different instances under a load balancer.
In this case seems the last version of this plugin is no more able to correctly detect the IP of the clients and so start blocking them by redirecting to 127.0.0.1
I fixed this issue by simply changing that configuration from “REMOTE_ADDR (Default)” to “HTTP_X_FORWARDED_FOR”.
You can change this from: “WP Security” => “Settings” => “Advanced Settings”:
Related Posts:
- WordPress redirecting connections on port 8080 to 80
- Exclude a path from WordPress using .htaccess redirects (Apache)
- WordPress site redirects to different wordpress domain on the same server after reuploading db backup
- Localhost wordpress site redirects to public site
- Redirect from home page to post list page?
- How to migrate production WordPress to Localhost
- Site loads very slowly (4-5 minute load time)
- WordPress on a local machine redirecting to xampp dashboard page [closed]
- 301-redirect directives for blogger to wordpress migration
- Trouble running local WordPress in Google App Engine
- Redirect – remove custom query string
- Redirecting connection from IP to localhost
- How do I do a redirect to WordPress permalink with post id via htaccess?
- How to redirect only 404 pages with htaccess in WordPress
- WordPress localhost site always redirect to live site [closed]
- Unusual Apache2 Error Causing WordPress Redirect Error?
- 301 Redirect Loop www to non-www – Nginx + Apache2
- Can I redirect the http request towards an old folder to the homepage using .htaccess file? [closed]
- PHP header(Location: …): Force URL change in address bar
- Getting an error when I visit http://localhost
- What does HTTP/1.1 302 mean exactly?
- Localhost is not working
- htaccess – Redirect to subfolder without changing browser URL
- php refresh current page?
- How do you redirect HTTPS to HTTP?
- Redirect old php link to wordpress link in .htaccess
- Redirect old php link to wordpress link in .htaccess
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- How to force a 404 on WordPress
- Disable front end to use as CMS only?
- Redirect Restricted Page to 404
- How to redirect non-logged in users to a specific page?
- How to prevent automatic redirection of 404 errors and “incorrect” URLs?
- How do I skip wordpress’s 404 handling and redirect all 404 errors for static files to 404.html?
- Disable WordPress URL auto complete
- Host the wp-admin on another domain?
- Redirect user to original url after login?
- When I change slug, will WordPress create redirect from the old URL?
- WordPress localhost site redirect to live site
- WordPress Redirect All HTTP requests to HTTPS via .htaccess
- wp_redirect() function is not working
- Redirect entire website to a single page
- My wordpress multisite homepage redirects to signup page
- Logout redirect to home page
- Disable ONLY URL auto complete, not the whole canonical URL system
- Redirect Localhost wordpress site to dashboard
- Redirect page URL to home URL without using a plugin
- Why is WordPress redirecting from http to https on a local environment?
- Login redirect to previous page
- How to prevent redirect to ‘About’ after core upgrade?
- 301 redirect instead of 404 when URL is a prefix of a post or page name?
- Why is wp_redirect() preferable to a standard PHP header redirect?
- How do I programmatically generate a 404?
- Redirect to referring page after logging in
- User redirect to destination URL after login
- Prevent access to single post types
- check first time login only
- How to change the default logout link on WordPress Admin
- Stop WordPress from “guessing” redirects for nonexistent URLs
- WordPress install enters an infinite loop
- How to redirect a sucessful registration to a page template?
- How to configure nginx to redirect requests to the uploads directory to the production server?
- WordPress HTTPS redirect loop
- Why am I getting a 301 on a existing post?
- Redirect to dashboard after login
- Make a video post redirect to next post after completion
- Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
- WordPress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80
- Non-WordPress page in subdirectory under WordPress page
- Force HTTPS using .htaccess – stuck in redirect loop
- How to redirect after login, the working way?
- Keeps on redirecting on my development copy
- Password change when the user login first time
- Custom login form redirect to external site
- Redirecting WordPress /.htaccess / HSTS / SSL
- 301 redirect not working through .htaccess
- handling login/logout redirects
- Clarification on auth_redirect()
- Site redirects to wrong url when saving settings
- WordPress Multisite – Multiple subfolders for blogs
- How to redirect all requests to wp-login.php?
- Implementing global redirection (automatic redirect for all pages who had their slug changed)
- Correct way to hide pseudo pages from being shown?
- Redirect blog page to latest post?
- Redirect to custom url when registration fails?
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- prevent/block direct access to a thank you page
- Redirect After Delete User in Backend
- Restrict Access to wp-login.php
- How to setup 301 redirects for multiple query string URLs?
- How to redirect url requests to https? [closed]
- Using `auth_redirect` : keeps asking me to login even when I’m logged in
- Htaccess redirect from ‘/%postname%.html’ to ‘/%postname%’
- Redirect to post after submission with Gravity Forms? [closed]
- How can I move/redirect single blog posts from one blog to another?
- Best way to handle redirects
- Redirecting old permalink to new one
- WP auto redirects after url change?
- Setting a redirect cookie in wordpress