Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • This character is being added to URLs when they are displayed in the plugin admin. I have no clue why, but if you look at line 77 in redirection/models/log.php you’ll see the following:

    return implode('&#8203/', explode( '/', substr( $url, 0, 80 ) ) ).( strlen( $url ) > 80 ? '...' : '' );

    And line 402 in redirection/models/redirect:

    return implode( '?&#8203/', explode( '/', $url ) );

    The zero width space is being intentionally added.

    Not sure if you are having the same problem I was, but here’s how I fixed a similar issue. The Password Protect plugin was working fine for one site, but when using it in conjunction with Mu and Domain Mapping it wouldn’t let me get past the login screen either.

    The plugin uses the function ‘is_user_logged_in’ which looks for a cookie set by WordPress. My issue was that the log in page I was being thrown to was not the domain I had the site mapped to, but the sub-directory. So, anytime I would log in it would save the cookie for a different domain and think I wasn’t logged in on the other domain.

    All I had to do to fix this was change the ‘siteurl’ value in the ‘wp-options’ table of the database to the site domain. Hopefully that works for you as well.

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