2 yabba Dec 09, 2008 11:28

Thanks for your reply, ¥åßßå.
I unchecked META NOINDEX boxes on the SEO page for Blog A and I still don't see a 'robots' meta tag in View Source for Blog A's home page. Not sure why.
I would only expect it to be there if you checked the box ;)
¥
Thanks again for your reply.
I interpreted it as, if you don't want META NOINDEX nor META NOFOLLOW, then unchecking the box would give at least a META INDEX, FOLLOW as a default, which is what I'm looking for. :-/
It would appear that it only shows when there's a negative ( ie noindex/nofollow, noindex/follow, index/nofollow )
¥
Thanks again ¥åßßå.
I'd like to add an Index/Follow option even if I have to hardcode it in the header or a skin's main file if decide not to research the hack to other core files. I'll try to figure that out unless you just happen to know - else, don't worry about it. That I can do. I wouldn't think it would be too hard. B)
Thanks.
inc/core/_template.funcs.php ( approx 332 ) remove the is_null checks ;)
/**
* Robots tag
*
* Outputs the robots meta tag if necessary
*/
function robots_tag()
{
global $robots_index, $robots_follow;
if( is_null($robots_index) && is_null($robots_follow) )
{
return;
}
¥
See ¥åßßå - I told you you're 'genii'.
I'll give that a whirl.
Thanks!
for most skins you'll get away with just altering /skins/_html_header.inc.php
the robots tag is produced by inc/skins/_skin.funcs.php ... I think. You can change what it spits out with admin > bog settings > [blog] > seo
¥