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:
1 2 3 4 5 6 7 | // 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/.