Weiss's notes were shared a long time agoThe error code 310 TOO_MANY_REDIRECTS redirects too many timesThe situation that everyone encounters is different.Today, Lao Wei encountered the same help again. After solving the problem, he felt that it was typical, and shared it in the blog. I hope it will be helpful to you.
Similarly, 301 TOO_MANY_REDIRECTS has too many redirects, and the home page cannot be opened, while the background can be opened, but login cannot be performed.
Lao Wei asked for login information and looked at it in the pagoda panel. SSL certificate has been added, and it isFree SSL certificate applied by Tencent Cloud, everything is normal.
problem analysis
To solve this problem, there are two possibilities, excluding the repeated installation of SSL certificates in the link at the beginning of this article:
The target domain name is not resolved
The target domain name is not added in WordPress background
In this case, 301 redirects from the main domain name to the www domain name.
Check the domain name resolution result: the main domain name and www domain name are resolved to the server IP.
Then there is only one possibility left.
Problem solving
Go to WordPress background>Settings, and change the WordPress address and site address on the right to the www domain name.
summary
The problem of too many 301 redirects mostly occurs in novices and Xiaobai.In terms of the problems encountered in this article, the main domain name of your pagoda panel must be the same as that of WordPress.
If 301 redirection is set, and the main domain name set in WordPress is not the target domain name, it will naturally fall into the endless cycle of 301 redirection to the main domain name.
Article name: Another Case of 310 TOO_MANY_REDIRECTS Redirection Too Many Times Article link:https://www.vpsss.net/28679.html Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself. The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.