Plugin Author
Ella
(@ellatrix)
I don’t really have any experience with multi site. Isn’t it possible to activate the plugin for each website and then change it? Or do you want to change all the urls at once? Not sure if the latter is possible, but I’ll try to figure it out.
Yes, I would like to change all the urls at once.
Because to leave the inner sites login with default option as “/login” is not recommended either.
I am reviewing the code and found that if the option is not specified for inner sites it’s taking hard coded value ‘login’ for innersites. am working on to modify the code to correct this. will provide you modified code once done.
Plugin Author
Ella
(@ellatrix)
I’ll try to find out how multi site works exactly. Do they have separate options tables? In that case they’ll need to be set all at once when updating the option.
Plugin Author
Ella
(@ellatrix)
Oh ok, their tables are separate entirely.
Plugin Author
Ella
(@ellatrix)
So it’s probably best to leave the plugin as it is, because not everyone would want to set the same url for the whole network, but add the option to have a network wide default.
yes i agree it is good to have different login url for each inner site.
I am working on to add an option to have a network wide default login url.
Finally this hack resolved my problem.
In plugin file : rename-wp-login.php
line number: 125
change the code as below
*****************************************************************
if ( ! get_option( ‘rwl_page’ ) || get_option( ‘rwl_page’ ) == ” ) {
switch_to_blog(1);
update_option( ‘rwl_page’, wp_unique_post_slug( get_option( ‘rwl_page’ ), 0, ‘publish’, ‘page’, 0 ) );
restore_current_blog();
}
Plugin Author
Ella
(@ellatrix)
Version 2.0 now supports multisite and you can set a network wide default!