forked from ellatrix/rename-wp-login
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
155 lines (94 loc) · 4.58 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
=== Rename wp-login.php (unmaintained) ===
Contributors: avryl
Tags: rename, login, wp-login, wp-login.php, custom login url
Requires at least: 4.1
Tested up to: 4.1
Stable tag: 2.5.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Change wp-login.php to anything you want.
== Description ==
***
I don't actively work on this plugin anymore, so use at your own risk.
***
*Rename wp-login.php* is a very light plugin that lets you easily and safely change wp-login.php to anything you want. It doesn’t literally rename or change files in core, nor does it add rewrite rules. It simply intercepts page requests and works on any WordPress website. The wp-admin directory and wp-login.php page become inaccessible, so you should bookmark or remember the url. Deactivating this plugin brings your site back exactly to the state it was before.
= Compatibility =
Requires WordPress 4.1 or higher. All login related things such as the registration form, lost password form, login widget and expired sessions just keep working.
It’s also compatible with any plugin that hooks in the login form, including
* BuddyPress,
* bbPress,
* Limit Login Attempts,
* and User Switching.
Obviously it doesn’t work with plugins that *hardcoded* wp-login.php.
Works with multisite, but not tested with subdomains. Activating it for a network allows you to set a networkwide default. Individual sites can still rename their login page to something else.
If you’re using a **page caching plugin** you should add the slug of the new login url to the list of pages not to cache. For W3 Total Cache and WP Super Cache this plugin will give you a message with a link to the field you should update.
= GitHub =
https://github.com/avryl/rename-wp-login
== Installation ==
1. Go to Plugins › Add New.
2. Search for *Rename wp-login.php*.
3. Look for this plugin, download and activate it.
4. The page will redirect you to the settings. Rename wp-login.php there.
5. You can change this option any time you want, just go back to Settings › Permalinks › Rename wp-login.php.
== Frequently Asked Questions ==
= I forgot my login url! =
Either go to your MySQL database and look for the value of `rwl_page` in the options table, or remove the `rename-wp-login` folder from your `plugins` folder, log in through wp-login.php and reinstall the plugin.
On a multisite install the `rwl_page` option will be in the sitemeta table, if there is no such option in the options table.
== Changelog ==
= 2.5 =
* Use wp-login.php instead of copying the file.
* Don't add notices for W3 Total Cache and WP Super Cache.
= 2.4 =
* WordPress 4.0 compatible.
= 2.3 =
* WordPress 3.9 compatible.
* Fix issue where the slug reverts to default when saving the permalink structure.
= 2.2.4 =
* Fixed SSL issues.
* Set REQUEST_URI back.
* Check if wp-login.php functions exist to avoid future fatal errors.
= 2.2.3 =
* Fixed URL filters.
= 2.2 =
* Fixed issue where requests redirect to the new login page.
* Trailing slash based on the permalink structure.
= 2.1 =
* Works now with non-pretty permalinks!
* Gives a message when using W3 Total Cache or WP Super Cache to update options.
= 2.0.1 =
* Prevents pretty redirects such as /login and /admin.
* Simplifies some code.
* Forces login page with trailing slash.
* Replaces a wp_redirect with wp_safe_redirect.
* Shows error message in the network admin if permalinks are not enabled for the main site.
= 2.0 =
* This plugin can now be activated for a network and a networkwide default can be set.
* The plugin now hooks in after init to make sure any customisations to the login form are hooked in before it.
* Links should now be fixed when SSL is enabled.
= 1.9 =
* wp-admin will now have a `wp_die()` message instead of a 404 template because this caused problems.
* Minimum version is now 3.8.
* Added updates from wp-login.php in 3.8.
= 1.8 =
* OOP PHP.
* Requires WordPress 3.7 or higher.
* MultiViews compatible.
= 1.7 =
* Made compatible with WordPress 3.7.
= 1.6 =
* Fixed the login link when `site_url()` ≠ `home_url()`.
* Added a [mirror](https://github.com/avryl/rename-wp-login) on GitHub.
= 1.5 =
* Made [User Switching](http://wordpress.org/plugins/user-switching/) compatible.
= 1.4 =
* Faster page load.
* Fixed 404 error for permalink structures with a prefixed path. “Almost pretty” permalinks work now too.
* Code clean-up.
= 1.3 =
* Prevents the plugin from working when there is no permalink structure.
= 1.2 =
* Fixed status code custom login page.
= 1.1 =
* Blocked access to wp-admin to prevent a redirect the the new login page.
= 1.0 =
* Initial version.