Support » Plugins » [Plugin: Customize Your Community] Redirection does not work on CYC

  • I was testing out the redirection functionality of the WordPress login — if you visit a page that requires logging in, WordPress will forward you to login page and then redirect you back to the original page — in the CYC plugin, but it was not working. I have pages on the front of the site that require log in; logging always took my subscribers to the profile page.

    As it turns out, there’s a LOT of code in CYC for determining what $redirect_to should be, but that variable gets left out of login form. I added the following line of code around 553 — inside the `<p class=”submit”>’ — and it appears to be working fine:

    <input type="hidden" name="redirect_to" value="<?php echo $redirect_to; ?>" />

    http://wordpress.org/extend/plugins/customize-your-community/

  • The topic ‘[Plugin: Customize Your Community] Redirection does not work on CYC’ is closed to new replies.