Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davidkonicek

    (@davidkonicek)

    The following redirect does work:

    Source URL:

    /(.*)/redirect-this

    Match URL Only
    Regex enabled
    Target URL:

    https://www.website.com

    HTTP Code: 301 – Moved Permanently

    So the problem seems to be with

    ?loggedout=true

    following wp-login.php

    Thread Starter davidkonicek

    (@davidkonicek)

    SOLUTION

    Source URL:

    /(.*)/wp-login.php\?loggedout=true

    Target URL:

    https://www.website.com

    Notice the backslash before question mark.

    It must be frustrating for the plugin developers to have all these questions about things that don’t actually relate to their plugin, but in this case, regular expressions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Regex Redirect with Multisite’ is closed to new replies.