Custom Author Archive Permalinks

When you add Posts to a WordPress blog, WordPress automatically creates various archive pages that you can use to display them. These include the commonly used monthly archives, category archives, and tag archives, and also the less commonly used author archives.

You can add a link to an author archive using WordPress’s the_author_posts_link() function. The permalink for an author archive uses the base “author” and the author’s ‘nicename’, which is created on registration using the author’s first and last names and which can’t then be edited through the dashboard. This gives an author archive permalink of something like this: http://www.technokinetics.com/author/tim-holt/.

In some circumstances, this isn’t ideal. If your blog authors use pseudonyms, then you won’t want their real names shown in your author archive permalinks.

To change this, you need to edit your database manually, using phpMyAdmin or similar. In the users table, you’ll find the “nicename” column. Changing the nicename field value for a user will change their author archive permalink, allowing you to protect authors’ anonymity.

Leave a Reply

You must be logged in to post a comment.