I am currently using this code:
function change_author_permalinks() {
global $wp_rewrite;
$wp_rewrite->author_base = 'connect/member';
}
add_action('init','change_author_permalinks');
but my current front
set on my blog is:
share
So the above generates a URL like so:
http://example.com/share/connect/member/john-smith
But I don't want /share/
as part of this author URL. I cannot remove the /share/
front as it is needed for other parts of the site.
How do I set the author URL to not use front
?