February 27, 2013 at 11:27 am #20727
how and where can i change on my blog site the H1 from the article to H2.
I have 10 articles and so 11 H1 on my indexpage, it should be just one H1, the sitetitel, so this is a really bad way for SEO.
JürgenFebruary 27, 2013 at 5:15 pm #108820
Just so you know, it is perfectly ok to have multiple H1 on a page. Within the code, the H1 is the most important part of an individual post/article and so that is the way it is read by the search engines.
You will need to go into the theme files and open the includes folder. Then, for each of the post format types open that file and change the h1 to h2. It will look like this:
<h1 class='post-title offset-by-one '>
<a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','avia_framework')?> <?php the_title(); ?>"><?php the_title(); ?>
<span class='post-format-icon minor-meta'></span>
The files are all in the format of “format-*post type name*”.
DevinFebruary 27, 2013 at 5:31 pm #108821
yeah you are right, i wouldn`t change the H1 on the single post or page.
I will change it only on the first site, the index page, here was shown the last 10 posts.
On this page the only H1 should be the titel on the blog and not the 10 titles of the articles.
Where i must change the code for the index-page?
JürgenFebruary 27, 2013 at 7:32 pm #108822
Those are the only files for the post pages so that is where you need to change it. The index just pulls in the post format templates and shows the short version if its an overview page and the full content if its a single page.
DevinFebruary 28, 2013 at 7:53 am #108823February 28, 2013 at 11:16 am #108824
SEO for Google changed and keeps changing so frequently I am not sure any longer what is important and what isn’t. If you search for a keyword of 3 words, and then examine all top10 sites and apply ‘seo rules’ which are taken as holy words by some, you will see sites that break every rule in the top10. Google is aware when a site is over optimized and penalizes it as well.
I think the key is having original content since if you use analytics, Google looks at the amount of time a visitor spends on your page and how quickly they click the back button on the browser. h1 tags are not as important for Google to understand what keyword the page is about as having semantically related words or phrases
NickMarch 3, 2013 at 5:06 pm #108825
please let me ask my question right into this context. I think that makes more sense, than opening a new topic.
I am using Sentence and set my subtitels in posts on h4, because it looks best to me.
A friend of mine said, that it is much better to set them to h1 and adjust the css to the fontsize of h4, because it is better for seo to use h1 instead of or h2 or h3…
Is that true? What do you guys think of that?
And: Shall I better use h2 on all my subheadings instead of h1, because h1 is already used for the post-title? (Is that the case at all?) or is it the best idea to use h1 for my subheadings. (With subheading I do mean the first level of heading after the posttilte)
I hope I explained what I mean well enough to you guys. I am not a pro on this ;-)
btw: http://www.hebammenblog.de – if you care to have a look ;-)
PS: The youtubevid is from 2009. Is it still up to date, what the google guy says?March 3, 2013 at 6:21 pm #108826
additional question: shall I change the fonsizes rather in base.css or do it like suggested here (http://www.kriesi.at/support/topic/changing-heading-font-sizes) in custom.css. And whats the difference? ;-)
B.March 4, 2013 at 12:55 pm #108827
Your friend is correct in that h1 is the primary heading and thus is usally something important. If using analogy of the book its the chapter titles. Ofcourse using the web it is possible to make h1 tag the smallest size and h6 the biggest, though i am not sure how would google interpret something like that. You can use h2 if it makes sense for the page – meaning that later on you don’t have some font size bigger then the subheading. You should try to have a natural progression where h1 > h2 >h3 >h4 etc..
If you change the font size in base.css and then a theme update comes out will you remember where you changed it ? With custom.css , all your changes are in one place so its much easier to backup the file prior to an update and then put it back after the update
The topic ‘Change H1 to H2’ is closed to new replies.