@alexandra55
Active 8 years, 4 months ago
-
Bowe replied to the topic How to redirect to user profile in the forum How-to & Troubleshooting 8 years, 9 months ago
@alexandra55 you can achieve this by adding a little snippet to your bp-custom.php or functions.php.
add_action( 'template_redirect', 'themename_redirect_author_archive_to_profile' );
[Read more]
function themename_redirect_author_archive_to_profile() {
if(is_author()){
$user_id = get_query_var( 'author' );
wp_redirect( bp_core_get_user_domain(…