<?php
// rename route /author/ to /members/
function daltonsutton_rename_author_to_members() {
global $wp_rewrite;
$wp_rewrite->author_base = 'members';
$wp_rewrite->author_structure = '/' . $wp_rewrite->author_base. '/%author%';
}
add_action('init', 'daltonsutton_rename_author_to_members');
// rewrite route /author/ to /members/
function daltonsutton_rewrite_author_to_members() {
add_rewrite_rule('^members/([^/]+)/?', 'index.php?author_name=$matches[1]', 'top');
}
add_action('init', 'daltonsutton_rewrite_author_to_members');