How to fix "This Webpage Has a Redirect Loop in WordPress"?

Recently many users faced problem with ‘Too Many Redirects’ error in WordPress. It is a common issue that WordPress users may come across.  This error usually occurs due to a misconfigured redirection issue. Your site may end up redirecting users to a URL that is actually redirecting them back to the referring URL. In that case the user’s browser is trapped between two pages and hence you see the error.

In this article, we will show you how to fix error too many redirects issue in WordPress.

How to fix redirect loop in Wordpress?

Simply connect to your website using an FTP client. Once you are connected to your site, you will find wp-config.php file in your site’s root directory to edit it. You need to download and edit this file using a text editor like Notepad. Simply add below code two lines to the file and don’t forget to replace www.yourdomain.com with your own domain.
define('WP_HOME','http://www.yourdomain.com');
define('WP_SITEURL','http://www.yourdomain.com');

Comments