How to use Author Page
-
Mod
What is the content of your functions file? (Post code here between backticks or at pastebin.com, please.)
I have to offer my apologies for my ignorance on this, because I found the problem. There is a setting in the Yoast SEO plugin that you can select to “Disable Author Archives.” The plugin suggests that if you run a one person blog, you should probably tick the checkbox. It then uses a 301 redirect to the homepage when the author template is called.
To answer Kenneth’s question though, here is what I have in the functions.php file in my child theme:
<?php
function my_remove_filter(){
remove_filter( 'wp_title', 'graphene_title' );
}
add_action( 'init', 'my_remove_filter' );
?>The reason I included that is because it does work perfectly with the aforementioned plugin without having to have the plug-in “Force Rewrites.”
Thanks again for the help, and once again, I do apologize. Good lesson learned though. Syahir, I rated the theme 5 stars at WordPress also. Just wanted to say thank you for a great theme.
ModThe plugin suggests that if you run a one person blog, you should probably tick the checkbox.
And that’s why I think SEO is mostly smoke and mirrors. I’ve read other SEO advice that says you should have a landing page for everything including authors. Obviously, Yoast disagrees.
it does work perfectly with the aforementioned plugin without having to have the plug-in “Force Rewrites.”
That’s a good thing. If a few lines of code can eliminate the need for a plugin (especially one which only does one thing), that’s the way to go.
I have to offer my apologies for my ignorance on this, because I found the problem.
No need to apologize. We were both ignorant on this. Sharing is how we learn.
Viewing 3 posts - 11 through 13 (of 13 total)
- 1
- 2
- You must be logged in to reply to this topic.