WordPress.org

Support

Support » Plugins and Hacks » Redirect all URLs when logged out to external site

Redirect all URLs when logged out to external site

  • roryreiff
    Member

    @roryreiff

    Hey there,

    I am trying to use the Redirection plugin to redirect all logged out users to an external site, namely pomona.edu/magazine. All logged in users get treated normally. So, I need a reg exp that handles all URLs, except our login page, and redirects to our external site if not logged in. If logged in, it returns the requested URL. I came up with this reg exp, that seems to do what it should ^((?!magazine.pomona.edu/wp-login\.php).)*$

    But it isn’t working – any help?

    Thanks,

    Rory

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect all URLs when logged out to external site’ is closed to new replies.