SEO – Complete controle over H1 title – Not the permalink in the archive

  • Guajira

    #18771

    Hi Mr.Hakim,

    If you are refering to the post title as being the headline, yes!

    What do you mean by “using standard WordPress functionality.”?

    Admin

    Syahir Hakim

    #18772

    When you edit a post or a page, you can manually edit the permalink, which means the permalink doesn’t have to be the same as the post’s title.

    When editing a post, just click on the “Edit” button next to the permalink to edit it.

    14l2gq9.png

    TobiF

    #18773

    Oh, any, typically, your main h1 tag will contain BOTH the title and the url, since it will show the post title with a link to the post (i.e. with a link to self…)

    And, after you’ve published a text, WordPress won’t change the permalink automatically, even if you edit the headline.

    Guajira

    #18774

    Hi guys,

    Thanks for your help! We are almost there.

    I understand what you mean by editng the url. I got that.

    Event if I edit the link the “Theme” gives automaticaly a h1 to the url, which is my main concern.

    There is much more than a font size in the h1 tag. The h1 tells the search engine what is the main subject of a page.

    And the main subject is given by the headline not the url.

    Question

    Is there a way to give another tag than h1 to the url? For example a h2 tag.

    Thanks a million times

    Admin

    Syahir Hakim

    #18775
    Quote:
    Event if I edit the link the “Theme” gives automaticaly a h1 to the url, which is my main concern.

    There is much more than a font size in the h1 tag. The h1 tells the search engine what is the main subject of a page.

    I don’t think it matters. The search engines should be intelligent enough to recognize the text and the link, and treats them accordingly. Furthermore, like TobiF said, the link in the h1 tag points to the article itself, so in any case it shouldn’t affect your SEO.

    Sounds to me like you’re nitpicking on the issue here. You should probably direct your attention more to other factors that have more significant effects on SEO, like content and backlinks from high-PR sites, etc.

    Guajira

    #18776

    This page is a good example of what I’m talking about.

    Look in the source code.

    1- The url doesn’t have any tag of some sort.

    2- The h1 tag is given to the headline.

    That’s simple!

    Can it be done yes or no?

    TobiF

    #18777

    But, when I look at a page, created by the Graphene theme, I see exactly the same thing.

    Here, for instance: http://www.spfbrasken.se/ny/text/34.

    Yes, the h1 tags contain the URL to the page itself, but it also contains, ta-da, the page title.

    (and a description of the link!).

    And beleive me, Google is good at telling visible text from links!

    If you don’t want your H1 links on single pages to contain a link to self, then that can of course be changed in a child theme. But I can’t see what you would gain from that.

    Guajira

    #18778

    Have take a look the page http://www.musicmarketingmanifesto.com/indie-artist-success-story/ ?

    1- The url doesn’t have any tag of some sort.

    2- The h1 tag is given to the headline.

    How can it be done ?

    Admin

    Syahir Hakim

    #18779

    Open up loop.php file and navigate to line 71. Then, replace this line:

    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'graphene'), the_title_attribute('echo=0')); ?>"><?php if (get_the_title() == '') {_e('(No title)','graphene');} else {the_title();} ?></a>

    with this:

    <?php if ( ! is_singular() ) : ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'graphene'), the_title_attribute('echo=0')); ?>">
    <?php endif; ?>
    <?php if (get_the_title() == '') {_e('(No title)','graphene');} else {the_title();} ?>
    <?php if ( ! is_singular() ) : ?>
    </a>
    <?php endif; ?>

    I’ll be making the change in the next major update, so you shouldn’t worry about losing the change when you update the theme.

    Guajira

    #18780

    Thanks Mr.Hakim for your help.

    Have a wonderful day

Viewing 10 posts - 11 through 20 (of 20 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.