MainWP & Jetpack by Automattic partnered 🤝 to help you secure sites with two new Extensions

How to Disable Live Traffic in Wordfence on Your Site

Disable Live Traffic - Wordfence

Heads up: This page may include affiliate links. Read the full disclosure.

If you notice many hits in your site’s analytics that have the following query string showing in the URL on your site;

/?wordfence_lh=1

Wordfence - WordPress Plugin

Then the query string is added by the live traffic feature in the Wordfence plugin. The real-time live traffic feature in Wordfence adds a query string to URLs on the site to track those.

To disable live traffic in Wordfence, you can set the Live Traffic Options to “Security Only”. From your wp-admin, navigate to:

Wordfence > All Options > Tool Options > Live Traffic Options

Wordfence - Live Traffic Options

Also, disable the signed-in users like below:

Wordfence - Live Traffic Options: Security Only

Alternatively, the Wordfence plugin has a constant that can be set in the wp-confg.php file, which will disable the live traffic feature and stop other administrator users from changing the live traffic mode to all traffic mode.

define('WORDFENCE_DISABLE_LIVE_TRAFFIC', true);

However, since Wordfence release 7.2.3, the default traffic mode for live traffic has been security only.

Useful Links

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.