We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16711
    • 12 Posts
    I saw on the website http://www.brethous.fr the following text: "Création : 20/08/06 - Dernière mise à jour : 28/08/06)"

    I also made a new Snippet "MetaTagsExtra" (see http://modxcms.com/forums/index.php/topic,3425.0.html). Now I`d like to use this snippet also in my Website.

    Now I think I have to put some code in my Template? Where? Whot code? I studied the snipped and the messages, but did not find a solution. What I have to do?


    Thanks for help
      • 7923
      • 4,213 Posts
      Allways read the snippet comments at the top of the snippet code.. In this snippet, there is:

      | Usage:
      | Insert [[MetaTags]] anywhere in the head section of your template.
      | Don’t forget to set the full name of all document authors.
      | You can find it at "Manage users" -> your username -> "full name".
      | This value is used for the Author and Copyright meta tags.
      |
      | When you mark a page as "NOT searchable" - a Robots meta tag
      | with "noindex, nofollow" is inserted to keep web search engines
      | from indexing that document. After all, there’s little value in
      | making your MODx document unsearchable to MODx, when
      | Google still knows where it is! For "searchable" documents, no
      | Robots meta tag is inserted. The default is "index, follow", so not
      | putting it in reduced HTML bloat.
      | A Googlebot meta tag with "noindex, nofollow, noarchive, nosnippet"
      | is also output, to tell Google to clean out its cache.
      |
      | When you mark a page as "non cacheable", no-cache directives
      | are inserted via the Cache-Control and Pragma meta tags.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."