Do you want to change the author URL slug and base in WordPress?
WordPress allows you to customize the URLs of your posts, pages, and categories. However, there is no built-in option to customize the WordPress author URL.
In this article, we will show you how to easily change the author URL slug and base in WordPress.
What Is a URL Slug and URL Base?
Your WordPress website comes with built-in support for an SEO-friendly URL structure.
This is known as pretty permalinks and allows you to choose URLs for your posts, pages, and categories by editing their slugs.
This feature also creates pretty links for author pages. However, there is no option for you to customize the author URL.
In WordPress terminology, a slug is a title of a publicly viewable page in WordPress formatted to be used in URLs. It looks like this:
In the example above,
syed-balkhi is the slug, and
/author/ is the base.
While users can change the slug and base for posts, pages, categories, and tags, it’s not possible to change the author URL in WordPress by default.
If you’d prefer to use ‘contributor’ instead of ‘author’ or want to change a certain author’s slug, then you are in the right place.
Let’s take a look at how you can easily change the author URL slug and base in WordPress:
Changing the Author Slug in WordPress
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 on your site, then you need to go to the Users » All Users page in the WordPress dashboard. Next, click on the ‘Edit’ link below a username.
This will take you to the Edit User screen.
Simply scroll down to the ‘Edit Author Slug’ section, and you will see a number of choices that you can use as the author slug. You can even enter a custom slug.
Once you have made the changes, click the ‘Update User’ button and preview your WordPress website.
Now, when you click on the author name in a post to view the author page, you will see that it is using the author slug you choose for them.
Changing the Author Base in WordPress
If you are building a site where you want to change the author base from
/author/ to something else, then you can do that with this plugin as well.
Simply head over to the Settings » Edit Author Slug page. Here, you will see an option to change the author base and even choose different bases for different user roles.
Once you are finished, just click on the ‘Save Changes’ button to store your settings. You can now preview your site and click on the author link to see the changes in action.
Setting Up Redirects for SEO Purposes
Changing the author slugs and base on an established website can have a negative impact on SEO, especially if your author archives are indexed.
People coming to author pages from search engines will see a 404 error message. To avoid this, you need to set up redirects from old URLs to new author slug and base.
Upon activation, head over to the Tools » Redirection page. You will be greeted by the plugin’s setup wizard. You can follow the on-screen instructions to continue set up or click on the ‘Manual Install’ link to skip it.
Next, you will reach the Redirection page. From here, scroll down to the ‘Add new redirection’ section.
You need to add the old author page URL as the source and the new author URL page as the target.
Don’t forget to click the ‘Add Redirect’ button to save your changes. The plugin will now automatically redirect visitors coming to the old author page to the new URL.
If you have also changed the author base, then you will need to dynamically detect those URLs and redirect them.
Let’s suppose you changed the author URL base to ‘contributor’. Here are the settings you would use to set up the new redirection:
If you selected the author URL base to be created using the user role, then you will need to do this for every user role, except when the user role itself is ‘author’.
As an alternative, you can use the All in One SEO (AIOSEO) plugin to set up redirects from your old URLs to your new URLs.
AIOSEO’s powerful Redirection Manager feature lets you easily set up full site redirects. Plus, you can enable automatic 404 error tracking to make sure you never have any broken links on your website.
To learn more about redirects, see our guide on how to set up redirects in WordPress.
We hope this article helped you change the author slug and base in WordPress. You may also want to see our guide on how to choose the best domain registrar or our expert picks for the best free author bio box plugins for WordPress.