WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Redirect all URLs when logged out to external site (3 posts)

  1. roryreiff
    Member
    Posted 3 years ago #

    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

  2. njsissons
    Member
    Posted 2 years ago #

    I dont know about that plugin but try this. Scrool down untill you can see redirect to another site.

  3. njsissons
    Member
    Posted 2 years ago #

    sorry the link didnt work I ment Here:
    http://codex.wordpress.org/Function_Reference/wp_logout_url

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic