WordPress is very flexible in terms of functions and modification. If you have a single user blog
it’s kind of pointless to show author archive
link. It’s probably the same as Home page link.
It is good practice to Redirect Author Archive Link to About Page
.
You can achieve it by adding below simple code to your theme’s functions.php
file.
add_filter( 'author_link', 'my_author_link' ); function my_author_link() { return home_url( 'about' ); }
And that’s it.
All of your WordPress’s user link will be replaced with About page. Check it out.
Before:
After:
Check it out here on Crunchify and try it out at your end.
Now to how to redirect Author URL to About page?
Just put below into your theme’s functions.php file and save it.
function crunchify_redirect_author_archive() { if(!is_admin()) { wp_redirect(home_url('about')); exit(); } } add_action('template_redirect', 'crunchify_redirect_author_archive');