Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Where to insert robots meta tags


 
Prev Previous Post   Next Post Next
  #1  
Old Mar 28, 2010, 12:10 AM
pyoterguru
 
36 posts · Mar 2010
[SOLVED] Where to insert robots meta tags

Hi,

In what ATA php file & specific location in that file do I insert the following codes to tell spiders "not to index static non-post pages" of my blog (such as About, Contact)?

<?php if(is_single() || is_page() || is_home()) { ?>
<meta name=”robots” content=”all,index,follow” />
<?php } else { ?>
<meta name=”robots” content=”noindex,follow” />
<?php }?>


Also, would this code not come into conflict with Meta Robots plug-in?


Thanks...

Last edited by pyoterguru; Mar 28, 2010 at 01:29 AM.
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] robots: can't turn off noindex, nofollow dickeson Atahualpa 3 Wordpress theme 2 Feb 28, 2010 03:54 PM
Meta tags for Google searches cmagwood Atahualpa 3 Wordpress theme 0 Feb 2, 2010 11:40 AM
Looking for "robots" code in header jenb Header configuration & styling 1 Oct 11, 2009 10:35 AM
[SOLVED] Lijit Search, robots.txt, and /Disallow Wimbledon Plugins & Atahualpa 2 Oct 3, 2009 08:24 PM
H1 and H2 tags dogwoad Header configuration & styling 2 Jun 12, 2009 12:21 PM


All times are GMT -6. The time now is 01:50 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.