Skip to content

WordPress: Moving author pages to a different URL or base

If you need to move WordPress author pages to live on a different URL than the default, that’s outside the base of your blog (like our Team page), then you might find yourself beating your head against WordPress’s rewrite engine.

Don’t panic! It’s only a couple of lines of code in your functions.php file to make this work. For our team page, you just need:

add_action('init', 'rewrite_authors_to_team'); 
function rewrite_authors_to_team() {
  global $wp_rewrite;
  $wp_rewrite->author_base = 'team';
  $wp_rewrite->author_structure = '/team/%author%';

If you still have problems, you might need to hit save on your permalink settings!