Forum Replies Created
-
In reply to: Edit Profile Link not working for all users
You’ll find a solution here: https://bbpress.org/forums/topic/user-profile-pages-not-working-apart-from-for-first-administrator/#post-115531
After spending some hours with the same strange behaviour i finally found a solution:
This error happens when you’r running WP in a multisite-environment, only on the mainsite AND if you added
define('NOBLOGREDIRECT', 'http://example.com');to your wp-config.phpAdding
remove_action( 'template_redirect', 'maybe_redirect_404' );to your themes functions.php will stop that annoying bug.I guess this error happens because maybe_redirect_404() is fired before the profile-pages are build. the network administrator (or sub-sites) will be never redirected by NOBLOGREDIRECT, thats why the bug never happends when a network-admin clicks on a profile-link or when you’r running bbpress on a sub-site in your WP-network.
More about the NOBLOGREDIRECT-fix (it also helps showing 404-errors): http://frumph.net/2010/06/05/wordpress-3-0-multisite-subdomain-installation-noblogredirect-behavior-fix/
-
This reply was modified 14 years, 1 month ago by
Fuchsy.
-
This reply was modified 14 years, 1 month ago by