How to Change Author URL Slug and Base in WordPress
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, we will show you how to change Author URL slug and base in WordPress.
How To Change a WordPress Author URL Slug and Base
I’ve recently had a friend ask me how to do this. He didn’t like his author pages being indexed as they were displaying usernames etc, so I built a plugin to allow you to completely customise the authors URL. It also redirects the author pages and is overrideable by admin.
How to Change the Author in WordPress
Struggling with how to change the author of a WordPress post? By default, WordPress assigns authorship to the user who first created the post. But there are plenty of times you might need to go back in and change the author at a later date. Don’t worry – you won’t need to copy the content over and redo the post’s formatting. In fact, you can change the author of a WordPress post (or posts) without even needing to install a plugin. And in this post, we’re going to show you exactly how to do it.
How to Change WordPress author URL-/slug base
This snippet will allow you to change the default WordPress author URL base from ie: “mysite.com/author/name”, to ie.”mysite.com/profile/name”. In this example We are changing the slug to “profile”, but you can change this to anything that you would like.