How to Change Author URL Slug and Base in WordPress

0 642




WordPress comes with built-in support for SEO friendly URL structure, also known as pretty permalinks. This feature allows you to choose URLs for your posts, pages, and categories by editing their slugs. However, WordPress does not allow you to choose a slug for author pages. In this article, You will Learn how to change Author URL slug in WordPress.

What is a URL Slug and URL Base?

In WordPress terminology, a slug is a URL friendly title of a publicly viewable page in WordPress. It looks like this:

https://example.com/2017/07/jesus-is-lord/
https://example.com/category/daily-devotionals/
https://example.com/tags/kenneth-copland/

In these examples, jesus-is-lord/, daily-devotionals/, and kenneth-copland/ are slugs for a post, category, and a tag.

Users can change the post slug when writing a post. Slugs for categories and tags can be changed by editing an individual category and tag.

Now if you look at the category URL in the example above, then you will notice that it uses /category/ prefix for category URLs. This prefix is called base.

The category base can be changed from Settings » Permalinks to anything you want.

By default WordPress uses your username as author URL slug, and /author/ as the base. A user with the username JohnDoe will have an author URL like this:

http://example.com/author/johndoe

Changing Author Slug in WordPress

Read More:
1 of 113

First thing you need to do is install and activate the Edit Author Slug plugin. Upon activation, this plugin will add a group of options to each user profile page.

If you want to edit the slug of a user in your website, then you need to go to Users » All Users. Next click on the Edit link below a username which will take you to the Edit User screen. Simply scroll down to Edit Author Slug section, and you will see a number of choices that you can use as author slug. You can even enter a custom slug.

Once you have made the changes, click on the save button and preview your site. Now when you click on the author name in a post to view author archives, you will see that it is using the author slug you choose for them.

Changing Author Base

If you’re building a site where you want to change the author base from /author/ to something else, then you can do that as well with this plugin.

You need to click on Settings » Edit Author Slug. Here you will see an option to change the author base and even choose different author base for users with different user roles.

Once you are finished, click on the save changes button to store your settings. You can now preview your site, and click on author link to see the changes in action.

Remember: changing author slugs and base on an established website can have negative SEO ramifications specially if your author archives are indexed.








Related Articles: More from author