How to solve wordpress error 429

08-01-2023

This article mainly explains how to solve wordpress error 429, interested friends may wish to take a look. The method described in this article is simple, quick and practical. Let the editor take you to learn how to solve wordpress error 429!

The solution to wordpress error 429: 1. Manually download the WordPress installation package, theme and Plug-in, and then manually upload to the server to perform an update; 2. Use the third-party WordPress latest version mirror; 3. Install and enable the Kill 429 plug-in.

WordPress reported error 429 Too Many Requests perfect solution

During this time (actually it has lasted for a long time) as long as the server WordPress webmasters in China should have one troublesome thing. Whenever they want to upgrade the WordPress version, or upgrade the theme or plug-in of the WordPress platform, they will receive a 429 Too Many Requests error message.

429 Too Many Requests reason

Some WordPress webmasters may report 429 errors The first reaction is that there may be a problem with the WordPress installation package, WordPress theme or plugin files. In fact, it is possible, but this time, it is not. It's just that the server of wordpress.org cannot be accessed in China.

Then, wordpress.org is broken in the domestic wall? The editor pinged wordpress.org and found that the IP address for accessing wordpress.org is still normal in China, but it is not stable. As shown in the picture below:

Since wordpress.org has not been blocked, I will continue to read the information to see if I can find some clues.

Probably means:

(1) WordPress does not have geographical restrictions. The 429 error reported in the Chinese region is not caused by the special restrictions of WordPress.

(2) The WordPress forum staff replied that it is likely that there have been too many requests from this IP address recently, so you have reached the ratelimit.

(3) Chinese questioners questioned, IKnowing that ngx_http_limit_req_module is a useful nginx module for rate limiting, but it's hard to believe that most of China is limited. The IP geolocation database looks a lot like geoblocking, it returns HTTP 429 instead of HTTP 403.

Therefore, why does WordPress report a 429 error when visiting the wordpress.org website when updating the version, or upgrading the theme and plugins? I leave it to everyone to guess.

How to solve 429 Too Many Requests

Solution 1: Manually download and upload file updates

It is when you need to update to the latest version When using WordPress, or when updating themes and plugins, you can go over the firewall to wordpress.org, download the WordPress installation package, WordPress themes and plugins, and then manually upload them to the server for update.

Scheme 2: Use the third-party WordPress latest version mirror

Add the following PHP code to the function.php of the WordPress installation file, and use the third-party mirror file To achieve WordPress version update.

add_filter('site_transient_update_core', function($value){
foreach ($value->updates as &$update) {
if($update->locale == 'zh_CN'){
$update->download = 'http://www.xintheme.cn/download/wordpress-zh_CN. zip';
$update->packages->full = 'http://www.xintheme.cn/download/wordpress-zh_CN.zip';
}
}

return $value;
});

Solution 3: Perfect solution - install Kill 429 plugin

The above two schemes, scheme 1 is too troublesome,The process is relatively complicated; Option 2 is limited to updating the WordPress version, and cannot update WordPress themes and plug-ins.

We recommend using the third option. You only need to install and enable the Kill 429 plugin to directly upgrade the WordPress version, and update WordPress themes and plugins.

At this point, I believe that everyone has a deeper understanding of how to solve wordpress error 429, so you might as well do it in practice! This is the Yisu Cloud website. For more related content, you can enter the relevant channels for inquiries, follow us, and continue to learn!

Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us