Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

How To Add The H1 Tag To Home Page?

Ads
banner
banner
banner
khuram Offline referral

Posts: 18
Joined: Oct 2014
Reputation: 0

#1
Junior Member
I am using mybb and i shall be thankful if someone could teach me how to add h1 tag to the home page.
ivan Offline referral

Posts: 713
Joined: Jul 2013
Reputation: 6

#2
Senior Member
Log into admin control panel then go to Templates and Style, Templates, your template, Index Templates, Index. There add your <h1></h1> tag.
khuram Offline referral

Posts: 18
Joined: Oct 2014
Reputation: 0

#3
Junior Member
can i turn the title of the page into an h1?
<title>{$mybb->settings['bbname']}</title>
how do i modify it to be an h1?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#4
Support Team
Hi sorry for such a late reply. H1 tag is part of the website content you can't replace website title tag with it as it suppose to be visible for reader.

Now yes you can add H1 to any MYBB webpage and make it display the page title.

Like so:
Code:
<h1>{$mybb->settings['bbname']}</h1>

This tag has to be inside the HTML
Code:
<body></body>

Pretty much inside the template find:
Code:
<body>

And then add whatever code you want after!
khuram Offline referral

Posts: 18
Joined: Oct 2014
Reputation: 0

#5
Junior Member
you mean i replace
<title>{$mybb->settings['bbname']}</title>
to
<body><h1>{$mybb->settings['bbname']}</h1></body>
inside the index template.
right?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#6
Support Team
Here is how any website page looks like the HTML structure!

Code:
<html>

<head>
<title>This is your title</title>
</head>

<body>
Here is the website content including H1-H6 tags
</body>

</html>

If you visit letsforum as a guest you will see on to of the screen message "Webmaster, Internet Marketing, Marketplace, SEO Forum." it's wrapped in H1 tag. Now add similar one open Index Page Templates >> Index find: {$header} then add after:
Code:
<h1>This is a test</h1>
khuram Offline referral

Posts: 18
Joined: Oct 2014
Reputation: 0

#7
Junior Member
i turned forum title into an h1 by adding templates conditions
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#8
Support Team
(11-15-2014 03:07 PM)khuram Wrote:  i turned forum title into an h1 by adding templates conditions

You can put any content inside the H1 tag don't need to use template conditionals plugin for that. You can't have it inside the HTML <head></head> you can't replace <title></title> tag with it.

You must be doing something very wrong!
mini555 Offline referral

Posts: 10
Joined: Dec 2014
Reputation: 0

#9
Junior Member
h1 tag is wriiten in this format

<h1>Your text</h1>





User(s) browsing this thread: 1 Guest(s)