We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42802
    • 96 Posts
    Sebastian Zahn | ingroove.uy Reply #1, 10 years, 7 months ago
    Hi, some time ago i was looking for a modx meta tags, don´t find anything so i take some time and make it.
    Hope someone find it useful, any modificacions and improvments are welcome.

    <!--META TAGS-->
    <title>[[*pagetitle:escape]] | [[++site_name]]</title>
    <link rel="canonical" href="[[++site_url]][[~[[*id]]]]"/>
    <meta name="title" content="[[*pagetitle:escape]] | [[++site_name]]">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="[[*keywords]]">
    <meta name="description" content="[[*description:escape]]">
    <meta name="author" content="Author Name">
    <meta name="date" content="[[*publishedon:strtotime:date=`%e %B %Y`]]">
    <meta name="lang" content="[[++cultureKey]]">
    <meta name="robots" content="noindex,nofollow">
    <base href="[[++site_url]]">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="abstract" content="[[*introtext:escape]]">
    <meta name="generator" content="MODX Revolution CMS">
    <link rel="icon" type="image/x-icon" href="assets/html/favicon.ico">
    <link rel="icon" type="image/png" href="assets/html/favicon.png">
    
    <!--Facebook Tags-->
    <meta property="og:site_name" content="[[++site_name]]">
    <meta property="og:type" content="article"/>
    <meta property="og:title" content="[[*pagetitle:escape]]">
    <meta property="og:description" content="[[*description:escape]]">
    <meta property="og:url"  content="[[++site_url]][[~[[*id]]]]">
    <meta property="og:image"  content="[[++site_url]][[*SocialImage]]">
    
    <!--Twitter Card-->
    <meta name="twitter:card" content="summary">
    <meta name="twitter:site" content="@direccionTwitter">
    <meta name="twitter:creator" content="@usuarioTwitter">
    <meta name="twitter:title" content="[[*pagetitle:escape]]">
    <meta name="twitter:description" content="[[*description:escape]]">
    <meta name="twitter:image" content="[[++site_url]][[*SocialImage]]">
      
    <!--FIN TAGS-->
    
    [ed. note: zzseba last edited this post 10 years, 7 months ago.]
    • Awesome work! Thanks for taking the time to share!

      You might want to check out MetaX, it might pair up nicely smiley
        Patrick | Server Wrangler
        About Me: Website | TweetsMODX Hosting
        • 42802
        • 96 Posts
        Sebastian Zahn | ingroove.uy Reply #3, 10 years, 7 months ago
        Quote from: AMDbuilder at Sep 21, 2013, 06:45 AM
        Awesome work! Thanks for taking the time to share!

        You might want to check out MetaX, it might pair up nicely smiley

        Thanks man! Yes, i´ve MetaX , some code it´s taken fron there. Cheers.
          • 42046
          • 436 Posts
          I would take out <meta name="robots" content="noindex,nofollow"> unless you do specifically want your site not appear on search engines.
            • 42802
            • 96 Posts
            Sebastian Zahn | ingroove.uy Reply #5, 10 years, 7 months ago
            Quote from: absent42 at Sep 23, 2013, 09:35 PM
            I would take out <meta name="robots" content="noindex,nofollow"> unless you do specifically want your site not appear on search engines.

            Hi! I let this tags like that while i´m developing a website in a testing server. After the job it´s done and ready to upload to the final server, i edit those tags to let search engines index the content.

            Thanks anyway.
              • 38168
              • 14 Posts
              <meta name="author" content="[[*createdby:userinfo=`fullname`]]">