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

Опубликовано: 14 Февраль 2017
на канале: 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/


Смотрите видео How to Fix Author Page Link That Is Redirecting to The Homepage онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Gel Manalastas 14 Февраль 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,394 раз и оно понравилось 67 людям.