Title: Redirect login status error
Last modified: December 9, 2020

---

# Redirect login status error

 *  Resolved [oliverkemp123](https://wordpress.org/support/users/oliverkemp123/)
 * (@oliverkemp123)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/redirect-login-status-error/)
 * Hi
 * I have a b2b webshop and i want to redirect the webshop to the login page when
   not logged in and let the login in users to the webshop. But if the user first
   users the redirect before login, they keep getting redirected to the login page
   even though they are already logged in.
 * I keep getting the following error
    Check redirect for: https:/(mywebsitename)/
   webshop
 * then a big red cross and the text
    expected: 301 to (nothing) found: 301 to /
   my-account/

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/redirect-login-status-error/#post-13763947)
 * The redirect checker can only check the status of plain URL matches, not login
   ones.
 * What are your settings for the redirect?
 *  Thread Starter [oliverkemp123](https://wordpress.org/support/users/oliverkemp123/)
 * (@oliverkemp123)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/redirect-login-status-error/#post-13763967)
 * I am using these settings for the redirect
 * Source URL: /webshop/
    Query Parameters: exact match all parameters in any order
   Match: URL and login status
 * When matched: redirect to: URl with HTTP code: 301 – moved permanently
    Logged
   In: Logged out: /login/
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/redirect-login-status-error/#post-13780307)
 * Are users logged into WordPress?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirect login status error’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/redirect-login-status-error/#post-13780307)
 * Status: resolved