• Resolved jtrich

    (@jtrich)


    Hello

    Thanks for the awesome plugin! It’s been a real help to me.

    I was wondering if it would be possible to add an option to disable the redirect when accessing the signup page on a network site (includes/ms-functions.php, line 412)? Perhaps just a removable action or a checkbox in the admin?

    I currently have it set up so that users can register on subsites, but this is preventing them from accessing this page.

    Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    That block of code will be replaced with the following in the next release:

    
    if ( ! is_main_site() ) {
    	/**
    	 * Filter whether to redirect subsite signup to network signup or not.
    	 *
    	 * @since 7.1.4
    	 *
    	 * @param bool $redirect Whether to redirect or not. Default true.
    	 */
    	if ( apply_filters( 'tml_redirect_subsite_to_network_signup', true ) ) {
    		wp_redirect( network_site_url( 'wp-signup.php' ) );
    		exit;
    	}
    }
    
    Thread Starter jtrich

    (@jtrich)

    Perfect, thanks for sorting!

    Hello I am experiencing a redirect to a signup page. I can not seem to correct the issue.

    When ever I try to go to the main site “https://site1.com” it redirects to

    https://site1.com/wp-signup.php?new=site1.com

    I can not seem to locate the problem… It should not be going to a signup page at all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite Signup Redirect’ is closed to new replies.