We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19298
    • 76 Posts
    MichaelHarringtonDesigns Reply #1, 16 years, 5 months ago
    Hi everyone I am a little confused

    I wanted to use TV to add Meta_Description & Meta_Keywords to my pages, but I want to be able to add different Meta_Description & Meta_Keywords for every page on my site. Not just all of them.

    I have split my HTML into chunks, in the header chunk I have <meta name="keywords" <meta name="description"
    these work fine for the home page..

    Now when I create another new resource I have create a new TV called Meta_Keywords & Meta_Description
    Input Type: text
    Input Option Values: @INHERIT blar blar blar

    I have then ticked on the template I am using for the new resource and pressed saved... I have done the same for both TV Meta_Keywords & Meta_Description except keywords TV does not have @INHERIT

    when I go back to the new resource page I have created I see at the bottom two new box’s for Meta_Keywords & Meta_Description so I fill these in and save when I view the html for the page I DON’T see my new keywords and description they are not added I still see the original from the header chunk.

    Does anyone know what I am doing wrong?
    Also do you have to create individual TV for every page you create if you want diff keywords and des on every page?

      • 26016
      • 561 Posts
      Forgive me if you’ve already done this, but I have to ask, do you have your new TV’s in the template code, something like this:

      <meta content="[*myKeywordsTV*]" name="keywords">

      <meta content="[*myDescriptionTV*]" name="description">
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 19298
        • 76 Posts
        MichaelHarringtonDesigns Reply #3, 16 years, 5 months ago
        Hi Samba

        Thanks for the reply

        "do you have your new TV’s in the template code, something like this"

        I don’t have the TV’s in the template code at the moment, I have created two templates one for my site and one for the new page I have created,, the code looks like this

        {{_header}}
        {{_midsection}}
        {{_rightCol}}
        {{_footer}}

        Do you mean I should add the TV’s I have created to this code like this

        <meta content="[*Meta_Keywords*]" name="keywords">
        <meta content="[*Meta_Description*]" name="description">
        {{_header}}
        {{_midsection}}
        {{_rightCol}}
        {{_footer}}
          • 19298
          • 76 Posts
          MichaelHarringtonDesigns Reply #4, 16 years, 5 months ago
          I Have couple of questions I have just watched this video
          http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html
          IF the keyword meta tag not relevant any more why should we still add it?
          2) Misspellings keywords do you add these to your pages as well?
          3) I have found the best ranked webpage’s on the net have few keywords, but the ones which are used are relevant to the page.
          4) A lot of CMS like Drupal have SEO modules which you can install, which helps you to determine the correct density of keywords on a page.
          I am using one at work and it allows me to add a primary and secondary keywords. It then ranks the page using the titles below.
          e.g
          HTML title 15%
          Meta tags 15%
          Body 9%
          header text 50%
          Overall score 20%
          After a get a green light and its good to publish, is there a snippet or module like this for MODX?

            • 26016
            • 561 Posts
            Hey Michael,
            Good questions. You’ve got your template organized in chunks, which can be awesome.

            I can’t see exactly what those chunks contain, but I’m guessing that you could try popping the lines I gave you into the _header chunk (rather than the template itself). Using your own TV names, of course. smiley Give that a try. This can be a little confusing because the old-school MODx meta method sort of automagically sticks your metas into your page with nothing explicit in the template.

            To your larger point, I agree... keywords are less important now, especially to Google. They still seem to be a bit more important in Bing and Yahoo. Description is more useful, as it becomes the blurb under the link title in Google, so you can really get just what you want into that spot. I would just avoid getting too "pimpish" there, else you’ll turn people off.

            For pure SEO, yes, title tags, header tags, and content are more important these days, which to me makes perfect sense. It’s closer to reality, and no keyword stuffing, as it were.
              MODx and Wordpress development
              Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
              • 19298
              • 76 Posts
              MichaelHarringtonDesigns Reply #6, 16 years, 4 months ago
              Hi samba

              I ended up with this solution, I have my HTML for my site in these chunks

              {{_header}}
              {{_midsection}}
              {{_rightCol}}
              {{_footer}}

              which are in a template called mysite for example

              When I need to add keywords and descriptions to a new page I have created a new chunk called Newpage, I have added the HTML from {{_header}} chunk. I have then changed the keywords and description and then added it to a new template for that page. I have then assigned that new template to the page and everything works fine.

              I will only have about 6 pages on my site so this seems to work well.

              I take it that the correct way is to create a new TV for each page with different keywords and description in it.
              <meta content="[*Meta_Keywords*]" name="keywords">
              <meta content="[*Meta_Description*]" name="description">
              then add the above code into the {{_header}} chunk... Just checking if this is correct?

              Does anyone know a way to check for keywords density on a page, I think your primary keyword should have a density of 8% correct me if I am wrong. Is there a snippet or module you can install to do this?
                • 26016
                • 561 Posts
                Hi,
                Actually, no, no need to create a TV for each page, that’s very inefficient. Yes, you could, but why? I’ll take one more shot at explaining.

                You create a TV for meta keywords. You can call it anything. Let’s call it "MetaKeyCrap". You mark it to go with any of your templates that will use it.

                Then you stick the code for the TV into your header chunk like so. Do you see the connection?

                <meta content="[*MetaKeyCrap*]" name="keywords">

                Then you go edit a page. You’ll see MetaKeyCrap as a new field that you can fill in. Fill it in with some keywords separated by commas. Save.

                Now view the source of your page. Your new keywords will be visible, unless something is messed up. Because you only filled in the TV on that one page, you will not see those keywords on the other pages until you edit those pages and enter keywords. Same type of procedure will be used for Description.

                Now it’s up to you.



                  MODx and Wordpress development
                  Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4