admin管理员组文章数量:1122832
When trying to access the author's page (i.e. example/author/john) I am redirected to Woocommerce's shop page, however, if john is an admin, then I am redirected to author.php page correctly... any ideas why?
When trying to access the author's page (i.e. example.com/author/john) I am redirected to Woocommerce's shop page, however, if john is an admin, then I am redirected to author.php page correctly... any ideas why?
Share Improve this question asked Apr 12, 2016 at 20:18 Caio MarCaio Mar 4344 silver badges16 bronze badges2 Answers
Reset to default 0If you are using Yoast Plugin, you must go to Dashboard > General > Open The Configuration wizar > the choose "Multi User" in of the step in it
Trust me It works
Well, there is no straight forward answer,since, it is unclear what template is used. But as long as you want ideas, these steps may help you to understand why.
check template file hierarchy to understand it better: documentation link: https://codex.wordpress.org/Author_Templates#Which_Template_File_is_Used.3F
make sure that "john" really uses author.php (it may use archive.php or index.php)
check what view your Woo Commerce shop uses.
My guess is that other users don't have any posts so you get index.php view (which is overwritten by Woo Commerce)
本文标签: pluginsProblem with Author page redirect
版权声明:本文标题:plugins - Problem with Author page redirect 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736284187a1927194.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论