So you want do-follow links on your StatusNet website?
Try adding the following to the end of your config.php ...
// Start Custom SEO Modifications for config.php by www.mattwilborne.com function AddMetaKey($action){ $action->element('meta', array('name'=>'keywords', 'content'=>'YOUR_KEYWORDS')); $action->element('meta', array('name'=>'description', 'content'=>'YOUR_DESCRIPTION')); $action->element('meta', array('name'=>'robots', 'content'=>'index,follow')); return true; } Event::addHandler('EndShowHeadElements', 'AddMetaKey'); // End Custom SEO Modifications for config.php by www.mattwilborne.com
Comments
any hardcoding now possible?
Try adding the following to the end of your config.php ...
// Start Custom SEO Modifications for config.php by www.mattwilborne.com
function AddMetaKey($action){
$action->element('meta', array('name'=>'keywords', 'content'=>'YOUR_KEYWORDS'));
$action->element('meta', array('name'=>'description', 'content'=>'YOUR_DESCRIPTION'));
$action->element('meta', array('name'=>'robots', 'content'=>'index,follow'));
return true;
}
Event::addHandler('EndShowHeadElements', 'AddMetaKey');
// End Custom SEO Modifications for config.php by www.mattwilborne.com
// Good luck with your modifications! Thanks, Matt Web Design Chicago