Fix-Error-Too-Many-Redirects-in-WordPress

How to Fix Error Too Many Redirects Issue in WordPress

Too many redirects issue on WordPress?

No worries! This happens due to an incorrect settings or faulty plugin. When this issue arises, the user is unable to enter their website’s dashboard. Go through this complete post and save yourself from the hassle of not being able to access your website due to the ‘too many redirects’ error.

Learn in detail.

In this post, we will help you know how to fix error too many redirects issue in WordPress. But before that, let’s take a look at some frequent reasons that trigger this issue.

Reasons of the Error Too Many Redirects Issue in WP Website

The most popular cause of the error is an incorrectly configured redirection error. The fact is that the URL structure of a WordPress web page is SEO-friendly due to a WP feature that triggers the redirect function. Many plugins that you use on your WordPress website make use of this feature to resolve the 404 errors, configure permanent 301 redirects and temporary directs.

What happens in this situation is that when you fix a caching plugin or the SSL insecure content error with the use of a plugin, it can affect the redirects. Until you fix this issue, you get stuck in a redirect loop because it’s hard to know what’s causing this error.

Thankfully, you can get rid of this too many redirect issue in WordPress by following these tricks.

Fixing Error Too Many Redirects Issue in WordPress

  1. Clear cache and cookies in your web browser

Your browser cookies and cache can be the reason why you’re experiencing this issue in your website. To check whether the reason is the same as we mentioned, enter your website from a different browser and see whether you can access your WP website from here in an easy way. If yes, you need to clear the cookies and cache of your regular browser so that you can access your website from here as well.

To clear browser cookies and cache in Chrome, go to the three dots icon on the home page of your browser. Go to Settings and scroll down to the Privacy and Security section. Enter “Clear browsing data” and check “Cookies and other site data” and “Cached images and files”. Click Clear Data and wait until the browser deletes all your cookies and cache stored up until now.

Similarly, other browsers also let you remove browser data in a different way. However, in most cases, it’s through Settings.

In case, clearing browsing data doesn’t help, you need to make sure your WordPress URLs are configured correctly.

  1. Fix your WordPress URLs

The misconfiguration of your website’s URL settings can also be a cause of the error too many redirects issue in WordPress. The URL settings are visible easily through your WordPress dashboard. But now, you need to use an FTP client or the file manager provided in your hosting account because you cannot enter your WordPress account the normal way.

  • Enter your account and head to /wp-content/themes/your-theme-folder/
  • You need to edit a file named functions.php [Imp: Use a text editor such as Notepad to do this task]
  • Go to the bottom of the text editor and paste these codes:
update_option( 'siteurl', 'https://abc.com' );

update_option( 'home', 'https://abc.com' );
  • Replace https://abc.com with your website’s URL
  • Save changes
  • Re-upload the file to your website

In this way, you can make sure the input filled in your Site Address field and WordPress Address field are the same. Now, check whether the too many redirects issue is resolved.

If you still see the error, try doing the next.

  1. Disable the WordPress plugins you’ve installed

Usually, a faulty or clashing plugin can be a reason why your website is redirecting you to the login page. You can resolve this issue by disabling all the plugins to see which plugin was causing the conflict.

  • Enter your website through FTP or File Manager (in your hosting account cPanel)
  • Go to the /wp-content/ folder
  • Change the name of the plugins folder inside it into ‘deactivate

Once the plugins are deactivated, access your website and see if the issue has disappeared. In case, it is resolved, you can go to Plugins > All Plugins in the left pane to activate each plugin one by one and checking at the same time which plugin is causing the issue. Once you find the real cause, report the issue to the related developer.

In case your issue is not fixed by this method, the next one will be the surefire way to make it happen.

  1. Reset your WordPress .htaccess file

The file that manages your WordPress redirects and server settings is called the .htaccess file. Sometimes, due to some plugins this file gets modified and your website starts facing the redirect issues. If you have found and disabled the faulty plugin but still face the issue, you need to reset the .htaccess file in your WordPress account.

  • Enter your website through FTP or File Manager (in your hosting account cPanel)
  • Access the root folder and locate the .htaccess file
  • Download the file to create a backup
  • Now, delete the file from your root folder

Go to your website and your issue must be resolved by now. If it has, then the problem was with the .htaccess file. When you are in your WordPress dashboard, go to Settings > Permalinks and select ‘Save changes’. It will recreate the .htaccess file. Don’t skip on this step because you always need this file in your WordPress.

How to Stop the Error Too Many Redirects in WordPress for Re-occurring

You need to be sure that the error too many redirects issue in WordPress never occurs again. For this, make sure you follow some important steps after fixing the issue.

If it was caused by a faulty plugin, you need to report it to the related developer so that they can fix the bug causing this error.

In case the issue occurred due to a misconfiguration in your WordPress website, you need to check all the required settings and correct the ones that are wrong. If you need help, you can always ask a professional.

We also recommend keeping your web browser clean and updated to ensure there are no bugs in it causing your WordPress to behave abnormally.

Your Comment:

Related Posts

fix-add-media-button-not-working-wordpress

01

Jul
How To

How to Fix Add Media Button Not Working in WordPress

WordPress is becoming advanced day by day but there are some technical failures that keep occurring every now and then. Among those common issues is the add media button not working issue. The worst part that users feel so much frustrated about is that there is no warning or notification why the button isn’t functioning. No matter […]

Fix-Wordpress-Login-Page-Refreshing-Redirecting-Issue

30

Jun
How To

How To Fix WordPress Login Page Refreshing/Redirecting Issue

The issue of WordPress login page refreshing/redirecting is very common. When this happens, users get locked out of their website’s admin dashboard and cannot access anything inside it. Although this WordPress issue can occur at anytime due to some specific reasons, there are some easy solutions to resolve it. In this post, we help you discover how[…]

Fix-Error-Establishing-a-Database-Connection-WordPress

29

Jun
How To

How to Fix the Error Establishing Database Connection in WordPress

You face ‘error establishing database connection’ issue in WordPress due to many reasons. Beginners feel more agitated because the error seems to be irreparable. Don’t worry! You can fix this issue by a few ways. In this post, we’ll help you learn how to fix the error establishing database connection in WordPress. The reasons why this problem[…]