How to troubleshoot WordPress redirect loop? Of course, you are here because you search for this.

As a blogger, it would be something that you would like to update and share with your family and friends every day. Get a cup of coffee and open your website that powered with WordPress. Access to your admin login and D**M! it keeps redirecting until you get an error “This website does not redirect correctly” it is really a frustrating day. Wait! We know how to troubleshoot WordPress redirect loop and want to share with you.

So how to solve this? In this post, we would like to share with you a few steps that might be able to help you to solve this issue. Put aside your coffee and read this article.

Permission for wp-admin folder

The most common issue with the redirect loop is permission. Permission is most of the common issues that cause the redirect loop. You need to make sure that your wp-admin folder has 755 permission. This will allow users to access your wp-admin folder from the public website.

Rules in .htaccess

Please make sure that your .htaccess does not have any rules that could cause a redirect loop to access your wp-admin. Disabling all the rules inside .htaccess will be a good start to troubleshoot. If you find by disabling the rules inside .htaccess could solve your issue, you will surely need to check your rules again.

No index.php file inside your wp-admin folder

I bet most of us will miss this one. Happened to us before, after a couple of hours wasted on troubleshooting on permission and also .htaccess, we find out that index.php is missing from the wp-admin folder. To solve this issue is very easy. Just copy the index.php from your other WordPress site and upload it or if you are using Softaculous, you may force it to reinstall WordPress for you.

Missing Home and SiteURL inside your database.

This normally happens to miss-configuration or you just migrate from other web servers. Temporary solve this issue by putting below code into your wp-config.php

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

Make sure you change the domain example.com to your registered own domain related to your website.

I hope this post will be able to help you solve your wp-admin redirect loop issue. Enjoy your coffee!

Read this article: How To Generate a Full Backup

Show Buttons
Hide Buttons