🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
DFX Random User IDs icon
Actively maintained Tested up to 7.0.9

DFX Random User IDs

This WordPress plugin randomizes the user_id for the user created on WordPress setup, removing one potential attack factor from the site.

Active installs200+100+ tier
Downloads · 30d672▲ 4.6× vs prev. 30d
Rating4/55 reviews
Health score61/100Fair
All-time downloads9KSince May 2017
Support resolved0 / 10% in last 2 months
RequiresWP 4.9PHP 7.4+
Downloads · 7d291▲ +14.6% week over week
Our verdict

Use with caution

DFX Random User IDs works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 4/5 and was last updated 2 days ago, and scores 61/100 on our health check.

  • Actively developed — last update 2 days ago
  • Momentum — downloads up 363.4% vs the previous 30 days
  • Small user base (200+ active installs)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

3571106Sep 4Oct 18Dec 2
Yesterday70
Daily average (1y)5
Peak day142Dec 1, 2026
Last 12 months1.9K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where DFX Random User IDs stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
security >100 10,000 Best security plugins →
user ids #4 10,000 Best user ids plugins →

Version adoption

Share of active sites per release.

  • 2026120130.5%
  • 2026060124.6%
  • 20201115.121.5%
  • 2020111515.2%
  • 202611218.2%

Rating breakdown

★★★★★★★★★★ 4 from 5 reviews

  • 5★60.0%
  • 4★20.0%
  • 3★0.00%
  • 2★0.00%
  • 1★20.0%

About DFX Random User IDs

From the official readme · v20261201

Description

This WordPress plugin randomizes the user_id for the user created on WordPress setup, removing one potential attack factor from the site.

How it works

Once activated, the plugin will immediately replace the ID for the default admin user (with user ID 1). By default, the plugin will use random user IDs between 1 and 4503599627370495 (to ensure compatibility with Javascript code using the user ID).

All newly created users from that moment will be generated with a random user ID in the defined range.

Settings page

Settings → Random User IDs (Network Admin → Settings on multisite, because users are shared by the whole network) shows:

  • The site’s status: whether a user with ID 1 exists, how many users have IDs below 1,000, and how many have an ID that follows another user’s. These are the IDs an attacker can guess.
  • The range for new user IDs, which you can change there. The range must hold at least ten IDs for every user, so that finding a free random ID stays quick. Existing users keep their IDs.
  • A “More plugins” tab with the author’s other plugins.

How to customize the range for new user IDs

The easiest way is the settings page. You can also customize the range with the WordPress filters dfx_random_user_id_max_id and dfx_random_user_id_min_id, which take precedence over the settings page.

For example, if you want to have all your user IDs between 1000 and 9999 you can add the following lines to your theme’s functions.php file:

function set_dfx_max_user_id( $default_max_id ) {
    return 9999;
}
add_filter( 'dfx_random_user_id_max_id', 'set_dfx_max_user_id' );

function set_dfx_min_user_id( $default_max_id ) {
    return 1000;
}
add_filter( 'dfx_random_user_id_min_id', 'set_dfx_min_user_id' );

Probably, you’ll want to add these lines to your code before activating the plugin, so your new random main admin user ID is inside your desired range.

External services

Author’s plugin catalog (davefx.com)

The “More plugins” tab of the settings page lists the author’s other plugins. When an administrator opens that tab, the plugin downloads the list from https://davefx.com/plugins.json, at most once a week. Nothing about the site or its users is sent: the request identifies itself only as DFX-Plugin-Showcase and its version, although, as with any web request, davefx.com’s server receives the IP address of the server making it. If the file cannot be reached, a copy bundled with the plugin is shown. Nothing else in the plugin connects to any external service.

  • Privacy Policy: https://davefx.com/en/privacy-policy/

Changelog

20261201

  • The “More plugins” tab loads its styles through wp_add_inline_style() instead of printing a style tag.

20261121

  • New settings page (Settings → Random User IDs): the site’s status, the range for new user IDs, and the author’s other plugins
  • The ID chosen for the first user on activation now respects the minimum ID too
  • Security: the activation notice’s “Dismiss” link now needs a nonce and the right capability, and the notice escapes the user’s nickname
  • The activation notice is shown only to the administrators who manage the plugin (in Network Admin on multisite)
  • Code cleaned up to the WordPress coding standards

20260601

  • Tested up to WordPress 7.0
  • Declared the minimum required PHP version (7.4)
  • Added an automated test suite and continuous integration against current WordPress and PHP versions

20201115

  • Adding new filter dfx_random_user_id_min_id to customize the minimum allowed user ID number

20190125

  • Adding new filter dfx_random_user_id_max_id to customize the maximum allowed user ID number

20170720

  • Updating documentation to reflect changes incoming with WordPress version 4.9.

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best DFX Random User IDs alternatives

All security plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Wordfence Security – Firewall, Malware Scan, and Login Security Wordfence Security Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by… by Mark Maunder 5M+ ★★★★★★★★★★ 4.7 (5.1K) 17 hours ago 95
2 Jetpack – AI Agents & MCP, Security, Backup & Analytics Jetpack – AI Agents & MCP, Security, Backup & Analytics Connect ChatGPT, Claude, or another AI agent to your site. Plus backup, malware scan… by Automattic 3M+ ★★★★★★★★★★ 3.8 (2.4K) 4 weeks ago 91
3 Really Simple Security – Simple and Performant Security (formerly Really Simple SSL) Really Simple Security Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA)… by Really Simple Plugins 3M+ ★★★★★★★★★★ 4.9 (8.9K) 1 week ago 96
4 Hostinger Tools Hostinger Tools Simplified WordPress management. Manage site info, maintenance, security, & redirects. by Hostinger 3M+ ★★★★★★★★★★ 3.5 (40) 1 week ago 77
5 Limit Login Attempts Security – Login Security, 2FA, Firewall, Brute Force Prevention Limit Login Attempts Security WordPress login security with brute force protection, Two-factor authentication (2FA/MFA)… by WPChef 1M+ ★★★★★★★★★★ 4.8 (1.5K) 22 hours ago 89
6 Loginizer Loginizer Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks. by Softaculous 1M+ ★★★★★★★★★★ 4.8 (1K) 2 weeks ago 91
7 Security Optimizer – The All-In-One Protection Plugin Security Optimizer – The All-In-One Protection Plugin Secure your WordPress site from brute-force attacks, threats, malware, and bots. Free to… by SiteGround 1M+ ★★★★★★★★★★ 4.5 (158) 3 days ago 96
8 Safe SVG Safe SVG Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress… by 10up 1M+ ★★★★★★★★★★ 4.9 (79) 1 month ago 90
9 All-In-One Security (AIOS) – Security and Firewall All-In-One Security (AIOS) – Security and Firewall Protect your WordPress site with All-In-One Security (AIOS): easy-to-use login security, a… by David Anderson / Team Updraft 1M+ ★★★★★★★★★★ 4.7 (1.7K) 2 weeks ago 97
10 ManageWP Worker ManageWP Worker A better way to manage dozens of WordPress websites. by ManageWP 1M+ ★★★★★★★★★★ 4.6 (682) 1 month ago 81

FAQ

DFX Random User IDs: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is DFX Random User IDs free?

Yes. DFX Random User IDs is free to download and use from the official WordPress.org plugin directory.

Is DFX Random User IDs safe to use in 2026?

DFX Random User IDs works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 4/5 and was last updated 2 days ago, and scores 61/100 on our health check.

How many websites use DFX Random User IDs?

DFX Random User IDs is active on 200+ WordPress websites and has been downloaded 9,005 times since it launched in May 2017. It was downloaded 672 times in the last 30 days.

Does DFX Random User IDs work with WordPress 7.1?

DFX Random User IDs is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does DFX Random User IDs need?

DFX Random User IDs requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was DFX Random User IDs last updated?

The latest version, 20261201, was released on December 1, 2026 (2 days ago).

Who makes DFX Random User IDs?

DFX Random User IDs is developed and maintained by David Marín Carreño (DaveFX).

What are the best alternatives to DFX Random User IDs?

The most popular alternatives to DFX Random User IDs are Wordfence Security (5M+ installs), Jetpack (3M+ installs) and Really Simple Security (3M+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open