Plugin Directory

Lockdown WP Admin

This plugin will lockdown WP Admin. It can hide wp-admin and wp-login as well as add HTTP auth to the login system. It can change the login URL.

How can we add files to the whitelist to hide from the public eye? We want to have AJAX and use a custom file, but we can't because it hides it from the public.

You can add a file using the 'no_check_files' filter. Use this: function add_my_cool_filter($data) { // You have to accept the $data argument or else it will cause a system meltdown ;) $data[] = 'my-file-name.php'; // JUST the file name. return $data; } add_filter('no_check_files', 'add_my_cool_filter');

Simple.

How can I get back in if the plugin locked me out?

You can create a .txt file named 'disable_auth.txt' in your wp-content/plugins/lockdown-wp-admin/ folder (The file location would be /wp-content/plugins/lockdown-wp-admin/disable_auth.txt). We don't care about the content but that will disable the HTTP Auth and whatever was locking you out of your site.

Requires: 3.0 or higher
Compatible up to: 3.2.1
Last Updated: 2011-7-7
Downloads: 14,273

Average Rating

3 stars
(15 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

100,1,1 100,1,1 50,2,1 100,1,1
75,4,3
100,2,2 100,1,1 100,1,1
100,1,1
63,8,5
100,1,1
40,5,2
0,1,0