How to Fix Author Page Link That Is Redirecting to The Homepage

Published: 14 February 2017
on channel: Gel Manalastas
5,394
67

{Support my channel with coffee ☕️ https://ko-fi.com/gelmanalastas

If you have found any of my videos helpful, and you’d like to say thanks or partner with me on a monthly basis, this is a way you can make a small donation to help me out!
Thank you so much in advance 🥺❤️}

Today as I was reviewing my blog post, I noticed that the link of my author page is not working. The link is correct, which is www.listeningva.com/author/admin but it is redirecting to the homepage instead of my author page, it's not a big issue but still it's not working.

This problem occurs because of a conflict from one of the plugins that I used which is Yoast SEO. If I disable this plugin the problem will be solved, but I really like to use plugin for my website's optimization so I don't want to delete it.

So to quick fix to this problem, you just have to edit the file "class-frontend.php"
Which you can find in your hosting's file manager, /public_html/wp-content/plugins/wordpress-seo/frontend folder and you'll find the class-frontend.php.

Edit the file. Look for the "function archive_redirect()".

You just have to remove or disable the line where it says disable-author.

In this case, I will just add a comment tag instead of deleting it.
This should solve the problem



######

Life of Riley by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Source: http://incompetech.com/music/royalty-...
Artist: http://incompetech.com/


Watch video How to Fix Author Page Link That Is Redirecting to The Homepage online without registration, duration hours minute second in high quality. This video was added by user Gel Manalastas 14 February 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,394 once and liked it 67 people.