← All plugins · Legacy section

This Is My URL · Legacy

Protect wp-config.php

Returns a blank page if anyone loads wp-config.php or common backup filenames directly in a browser: lightweight, zero configuration.

This plugin is legacy / archived (GitHub repository archived). It remains listed for history and existing installs — not a primary product.

WordPress.org listing Download ZIP All plugins
Your wp-config.php file holds your database credentials and your secret keys. It should never be readable in a browser, and on a healthy server it is not. But editors and backup tools leave copies behind with names like wp-config.php.bak or wp-config.old, and those sometimes serve as plain text. I wrote this to catch anyone trying to load that file, or its common backup names, straight from the address bar. What you get Returns a blank page if someone requests wp-config.php directly in a browser Covers the common backup filenames that editors and tools leave behind Runs at the PHP layer, so it works even where the server configuration does not block these files Who it's for Anyone on shared or self-managed hosting where you are not certain the server already refuses these requests. If you run on WP Engine or a similar managed host, they block this at the server level before PHP loads, wh

Slug protect-wp-config-from-phishing-attacks · wordpress.org/plugins/protect-wp-config-from-phishing-attacks/ · github.com/thisismyurl/protect-wp-config-from-phishing-attacks (archived)