We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10726
    • 58 Posts
    Hello,
    Is it possible to make ModX to generate "keywords" metatags in format:
    <meta name="keywords" content="keyw1, keyw2"></meta>

    Instead of this:
    <meta http-equiv="keywords" content="keyw1, keyw2" />

    ?

    I tried multiple options but couldn’t seems to find the solution.

    Gleb
      • 27889
      • 415 Posts
      What version are you using ? In the last version <meta name="keywords" content="..."> is used.

      But if you want to keep yours:
      You can make a TV (keywords) wich contain ... your keywords: keyw1,keyw2

      In your template put <meta http-equiv="keywords" content="[*TV_NAME*]" />
        MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
        MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
        • 10726
        • 58 Posts
        I using the latest 0.9.2.2
        and I also found that using TV’s for "keywords" and "description" in template works even better.

        Gleb
          • 12652
          • 228 Posts
          Depending on how you setup your template and want to use the exiting fields, you can also use the description and introtext from the pages, then you have them together with the title, long title, and other key info on every page when you create them... many ways to slice and dice it which is really becoming the power behind MODx... well, one of many powers.
            | Identity Developments delivers SEO focused web design and web presence services
            - it&#39;s not about websites, it&#39;s about your identity. |
            • 10726
            • 58 Posts
            I actually got this idea from russian post on ModX forums - using TV’s for Metatags. I need manual control over it because I am seriously approaching SEO and want to control these things up to the character.

            Oh boy - am I becoming a ModX expert! smiley (well compare to where i was a while ago).
            2 weeks ago I though TV stands for "Television". Today I slice and dice my template as I see fit to give me what I want. I still clueless about PHP and most of CSS, but hey...

            Gleb
            • That’s "MODxpert". tongue
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 16343
                • 14 Posts
                I usually moderate the tamplate and use the introtext variable as a meta description like this:

                <meta name="description" content="[*introtext*]" />

                that way I can edit my meta and my content in the same editor/window
                  Regards

                  Kristian Nissen