Hi
Normally, when i want to change the author base from /author/ to something else, I can normally achieve this with some simple PHP code or by using a plugin.
However while using the latest version of the pro theme, numerous plugins that i’ve tried, and multiple variations of the code using $wp_rewrite doesn’t seem to have any effect. This was true after I used flush_rewrite_rules(); and flushing the permalink cache.
Any thoughts on why this not working? Are there any alternatives to this?
The original code I tried using was:
function rewrite_author_base_slug() {
global $wp_rewrite;
$wp_rewrite->author_base = ‘team’;
}
add_action( ‘init’, ‘rewrite_author_base_slug’ );
