Read our latest blog posts, learn something new, find answers, and stay up to date.

Change WordPress Author Permalink

Ever want to change the “author” permalink from something like /author/jzelazny to something more custom for your CMS like /teacher/jzelazny? This is relatively easy by adding a function to your functions.php file:

// Adjust your author permalink
add_action( 'init', 'custom_theme_init' );
function custom_theme_init() {
   global $wp_rewrite;
   // Change the value of the author permalink to teacher
   $wp_rewrite->author_base = 'teacher';

Flush your permalinks (Settings > Permalinks) and now all your /author/ pages will now be /teacher/.