MyBB Community Forums

Full Version: Where are the metatags?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I can't find were to set them.
You have to use plugins to do that (or do some code in the template):
http://mods.mybboard.net/view/mybb-seo (SEO and Meta)
http://mods.mybboard.net/view/google-seo (SEO and Meta)
http://mods.mybboard.net/view/dynamic-metas-for-mybb-14 (Meta defined in global.php)
http://mods.mybboard.net/view/meta-tag-plugin (Meta defined in AdminCP settings)
You can also add meta tags to the headerinclude template.
It depends on what you want.

Tags that should appear on every page go in the headerinclude template. Examples for that could be meta language tags or some such. Tags that should appear on only a specific page, such as the portal or the index, you put those into the portal or index template.

If you want dynamic tags, such as a custom description for each thread, you need a plugin.
(2009-07-23, 09:08 AM)frostschutz Wrote: [ -> ]If you want dynamic tags, such as a custom description for each thread, you need a plugin.

and for this ^^ I already maked a Plugin, and releasing soon Wink
There already are several plugins that do this, so I'm curious as to what your plugin could do differently. If your plugin is going to be free, I'm looking forward to it...
and where can i find the headerinclude..
Ungrouped Templates.
(2009-07-23, 01:28 PM)MattRogowski Wrote: [ -> ]Ungrouped Templates.

Found it , now i see this

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}

Now the question is.. WTF do i put the meta tags? And after i do it how do i make sur ei did it right!
Well, put them after the other meta tags.

<meta name="description" content="Description goes here." />
Pages: 1 2