• Resolved oliverkemp123

    (@oliverkemp123)


    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

    (@johnny5)

    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

    (@oliverkemp123)

    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

    (@johnny5)

    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.