WordPress.org

Ready to get started?Download WordPress

Forums

Custom Login and Admin URLs (CLAU)
Can't Logout (4 posts)

  1. joshmac
    Member
    Posted 2 years ago #

    This plugin is a great idea. When changing the base for a multisite, logout does not work.

    http://wordpress.org/extend/plugins/custom-login-and-admin-urls/

  2. brasofilo
    Member
    Posted 2 years ago #

    a great idea that doesn't work?
    not so good...

    here's an advanced and simple solution for multisite

  3. Vitor Carvalho
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for your link brasofilo.
    This plugin needs a rewrite, maybe that example could help.

  4. brasofilo
    Member
    Posted 2 years ago #

    reviewing josh's post, i realized that logout is not being discussed in the link i provided...

    haven't tested this on multisite yet, i guess it should work...

    function redirect_logout_front_page() {
    	wp_redirect('http://site.com/login');
    	die();
    }
    add_action('wp_logout', 'redirect_logout_front_page');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic