Procédure
Service concerned: WordPress
Concerned panel: WordPress dashboard
Level: intermediate
When a WordPress site communicates with an external service, it makes an HTTP request. These communications are notably used to check for updates, contact an API, or synchronize a plugin.
The Log HTTP Requests plugin lets you record these requests in order to identify an error or an abnormally slow communication.
This plugin records outgoing requests made using the WordPress HTTP API. It does not allow you to view visits received by your site or all of the network traffic for your hosting account.
You must have a WordPress account authorized to install and activate plugins.
You must also be able to reproduce the action to analyze, for example submitting a form, a synchronization, a check for updates, or connecting to an external service.


Recording of new HTTP requests begins as soon as the plugin is activated.
In the left-hand WordPress menu, click Tools, then Log HTTP Requests.

The table shows the main information for each communication:

Click a row to display the details of the request sent and the response received.

The interface also provides the Refresh button to update the list and Clear log to delete the recorded entries.
To identify a specific request:
A code between 200 and 299 generally indicates that the remote server responded correctly. A code starting with 4 or 5 usually indicates a refused request or an error encountered by the remote service.
A high execution time may indicate a slow communication. However, there is no maximum duration that applies in all situations: the result must be compared with the usual behavior of the service concerned.
Request details may contain personal data, an API key, an access token, or other confidential information. Always check their contents before sending a screenshot or a copy of the log.
After reproducing the action to analyze and refreshing the log, a new line should appear with the address of the contacted service, its response code, and the duration of the communication.
The new request appears in the log: the plugin is working and you can view its details to continue the diagnosis.
Once the diagnosis is complete, click Clear log if you want to delete the recorded entries. You can then deactivate and delete the plugin if you no longer need it.
I don't see the “Add Plugin” button
Your WordPress account probably does not have the necessary permissions. Log in with an administrator account.
On a WordPress multisite network, plugin installation may be restricted to the network super administrator.
I can't find the plugin in the “Settings” menu
The plugin is accessible from Tools > Log HTTP Requests and not from the Settings menu.
No new request appears
Make sure the plugin is activated, then reproduce the action again before clicking Refresh.
Some communications do not go through the WordPress HTTP API. They cannot therefore be recorded by this plugin.
The log contains too many requests
Click Clear log, reproduce only the action to analyze, then immediately click Refresh. You will then be able to more easily identify the communication you are looking for.
The status shows 200, but the feature does not work
Code 200 confirms that the remote server responded, but its response may still contain an error specific to the service or application.
Click the relevant line and consult the Response section to inspect the response content.
Ask the LWS team and the community. Answers are published after moderation.