MyBB Community Forums

Full Version: Need H1 tag for thread title for better SEO
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[attachment=26327]I'm using default theme and templates for my forum

I want to wrap the thread title in H1. How to do it?

Also I discovered this now only, is there anything else I can do to improve SEO which is not there in default Mybb version?
1. Go to Admin CP > Templates & Style > Templates > Your Template Set > Show Thread Templates > showthread.

2. Find:

<div>
	<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>

3. Replace with:

<div>
	<h1>{$thread['threadprefix']}{$thread['subject']}</h1>
</div>

4. Save the template.
(2012-05-19, 12:27 PM)rag_gupta Wrote: [ -> ]Also I discovered this now only, is there anything else I can do to improve SEO which is not there in default Mybb version?

possibly install the google seo plugin although i dont know if that really does improve SEO
I can say that Google Seo plugin does. Without much content change, once I enabled it I jumped up on Google results 3 positions to first for my primary keywords. However if that may be coincidence the plugin still makes forum urls more memorable by making the urls the thread subject.
I already have this plugin.

Thanks, I've also added a css style for balanced looks:

Quote:<div>
<h1 style="font-size:1.2em">{$thread['threadprefix']}{$thread['subject']}</h1>
</div>
where can i add this

<div>
<h1 style="font-size:1.2em">{$thread['threadprefix']}{$thread['subject']}</h1>
</div>

because adding h1 causes the increase in font size, so only way is css

where can i add in css...??
Inline styling will work just fine. But if you'd rather style all H1 tags add this at the bottom of global.css:

h1 {
	font-size: 1.2em;
}
thanks fabio , it works Smile