statusnet
Discussions
Activity
Sign In
Search Engine Optimization (SEO)
pfar
June 2010
in
General
Is anyone aware of any plug-ins that could be used for SEO or tips on how to improve SEO?
Comments
wilborne
June 2010
Try adding the following to the end of your config.php ...
(You will need to insert your keywords, description, and API keys)
// 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'));
$action->element('meta', array('name'=>'y_key', 'content'=>'YOUR_YAHOO_WEBMASTER_KEY'));
$action->element('meta', array('name'=>'alexaVerifyID', 'content'=>'YOUR_ALEXA_WEBMASTER_KEY'));
$action->element('meta', array('name'=>'msvalidate.01', 'content'=>'YOUR_BING_WEBMASTER_KEY'));
$action->element('meta', array('name'=>'google-site-verification', 'content'=>'YOUR_GOOGLE_WEBMASTER_KEY'));
return true;
}
Event::addHandler('EndShowHeadElements', 'AddMetaKey');
// End Custom SEO Modifications for config.php by www.mattwilborne.com
OnlyBlue
November 2010
I'm interested in this topic.
JamesR
November 2010
Thanks!! Any other tips you have?
Sign In
or
Register
to comment.
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
All Categories
2.3K
General
1.5K
Plugins
282
Themes
57
Installation
282
status.net service
117
Hosting
15
StatusNet Desktop
24
Powered by Vanilla
Comments
(You will need to insert your keywords, description, and API keys)
// 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'));
$action->element('meta', array('name'=>'y_key', 'content'=>'YOUR_YAHOO_WEBMASTER_KEY'));
$action->element('meta', array('name'=>'alexaVerifyID', 'content'=>'YOUR_ALEXA_WEBMASTER_KEY'));
$action->element('meta', array('name'=>'msvalidate.01', 'content'=>'YOUR_BING_WEBMASTER_KEY'));
$action->element('meta', array('name'=>'google-site-verification', 'content'=>'YOUR_GOOGLE_WEBMASTER_KEY'));
return true;
}
Event::addHandler('EndShowHeadElements', 'AddMetaKey');
// End Custom SEO Modifications for config.php by www.mattwilborne.com