WordPress is currently one of the most popular free and open source content management systems. It provides many powerful theme templates and plugins for users to quickly build websites. Excessive redirection of WordPress websites is an error that we often encounter. There may be many reasons for this error, such as browser cache problems, URL settings, website plugins, etc. Let’s take a look at the relevant solutions below.
1. Clear browser cache data
There are too many redirects on the wordpress website, which may be caused by the mismatch of the URL data stored in the browser. At this time, we can try to access it with different browsers and clear the browser’s cookie cache data.
2. Clear WordPress Cache Plugin
In order to improve website performance, we generally install and activate WordPress caching plugins, but these caching plugins may affect the way the site handles redirects. If you encounter too many redirects on your WordPress website, it is recommended to clear the cached plugin data in time, open the WordPress background, select Performance—Dashboard in turn, and then click the Clear Cache button.
3. Check your WordPress site address settings
If there are too many redirects on the WordPress website, you can go to the backend dashboard of the website, select Settings, and check whether the website address and the website address are consistent in the general settings section. If they are inconsistent, you need to modify them. In addition, you should also ensure that the URL protocol is correct. For example, if the website has installed and deployed an SSL certificate to enable https access, then both website addresses should start with https instead of http.
4, wordpress site configuration after https configuration
If you have a newly installed wordpress site configured with https, and then log in to the wordpress background, you cannot access the background. Page prompt: You have been redirected too many times, what should I do? Just add the following code at the beginning of the php file wp-config.php in the root directory of the website to solve this problem perfectly:
$_SERVER[‘HTTPS’] = ‘on’;
The above is an introduction to the common solutions for excessive redirection of WordPress websites. If we encounter the same error, we can try to use these methods to troubleshoot and solve the problem.