Dumb SEO Questions

(Entry was posted by Yasser Mohamed on this post in the Dumb SEO Questions community on Facebook, 09/13/2013).

Question about Yoast Wordpress plug in for authorship

Hi,
I installed authorship on my word press site using Yoast.  Now I am wondering how I remove it from certain pages on my site and keep it on others like my Blog posts. Does anyone have an easy solution as I am not very technical (hence the reason I used the Yoast plug in for authorship!). At the moment I have applied a "bandaid" solution by replacing my name in the authorship field with that of my office manager, as she does not have an authorship setup  on the site - is this a solution?
This question begins at 00:09:03 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 00:09:03
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question

YOUR ANSWERS

Selected answers from the Dumb SEO Questions Facebook & G+ community.

  • Justin Y: I prefer using a custom snippet in the header.php or footer.php. You can also add the footer.php snippet to the single.php if you prefer it.

    Footer.php:
    <?php if(is_single() ) { ?>
    <a href="author link here?rel=author"></a>
    <?php } ;?>

    or

    Header.php in the head tag:
    <?php if(is_single() ) { ?>
    <link href="author link here" rel="author">
    <?php } ;?>

    
  • Justin Y: For the publisher tag you can use Yoast or add the following to your header.php to work globally.
    Just add <link href="google page link" rel="publisher"> 
  • Yasser Mohamed: Thanks +Justin Y but I am not sure how to do this - told you I am not very technical! Do you mean I just need to add this code to my header and that will take care of establishing authorship only on my blog an not on the rest of my website? Sorry I am a bit confused - it happens a lot!
  • Justin Y: Yep that's all. You just need paste in your author url where I noted and then paste the snippet in your theme file. The easiest for you would probably the header.php snippet 
  • Yasser Mohamed: Thanks +Justin Y much appreciated!
  • Justin Y: Np, glad I could help.

View original question in the Dumb SEO Questions community on Facebook, 09/13/2013).