Yoast WordPress SEO is an awesome plugin for your WordPress powered website and/or blog to optimise your website for search engines which is also used by top SEO expert out of Austin, Texas. This plugin comes with inbuilt support to set rel=”author” on your webpages. This will help you to set up authorship for your blog. If you are using WordPress for just a website without blog, then you don’t need to worry about authorship. But if you are using WordPress, not just for your blog, but for your website CMS, then you don’t need to display authorship on your pages and your home page (where your home is a page of WordPress, not the blog index). But it’s important to display authorship for the blog posts you write. Yoast WordPress SEO or Google Maps SEO does not have any settings to disable author metadata on your pages. So, when someone will search for something on Google and it displays your home page or any other page in the result, it’ll also display author information along with that, which is weird. So, you should disable pushing rel=”author” through your head on the pages.
When it comes to enhancing your website’s visibility and optimizing it for search engines, Yoast WordPress SEO is undeniably a valuable tool that many SEO experts, including those in Austin, Texas, rely on. This plugin offers built-in support for setting up rel=”author” on your webpages, facilitating the establishment of authorship for your blog. However, if your WordPress site serves as both a website and a blog, you may not want to display authorship on all your pages, especially the homepage. It’s crucial to distinguish between the two aspects. When it comes to fine-tuning your SEO strategy, including niche link insertions, it’s essential to be mindful of the finer details, such as controlling rel=”author” settings to ensure that your website presents a coherent and professional online presence, minimizing any unexpected author information display in search results.
To disable pushing rel=”author” through your head on the pages, you need to edit a single line of code of Yoast WordPress SEO plugin. Follow the following steps to do this.
- Locate the file named “class-frontend.php” in this path of your WordPress installation “wp-content/plugins/wordpress-seo/frontend”.
- Open the file in any text editor and search for “Outputs the rel=author”.
- Below this comment, you will find a function named “author”.
- Inside the function you will see a code which says
if ( is_singular() ) {
. Changeis_singular
tois_single
. And you are done. Save the file now.
We provide WordPress consultancy service. So, if you need any help, please contact us. We also develop awesome high quality web application using PHP (CodeIgniter), MySQL and Ajax (jQuery).
Fantastic – Thank you for the quick easy fix! Will this fix need to be re-applied every time I update the plugin?
Thank you for your comment. Yes, you need to reapply this every time you update the plugin. I will write about another method, so that you don’t need to reapply this every time you update the plugin.
Good article. Another way to selectively deactivate Google Authorship is to add a nofollow rel=author tag to any page,post, or media you do not want to attribute Google Authorship to. This is a good way to do it if you have a multiple author blog where some authors do not want to attribute Authorship for whatever reason. I have tested this numerous time and it does work. You are simply telling Google to not follow the author profile link when you do it this way.
Yes, that’s correct. But don’t you think that it’s difficult to do that on a WordPress website?