0
Welcome Guest! Login
0 items Join Now

SOLVED Add Meta Tag - revisit after

    • Skeeter's Avatar
    • Skeeter
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago
    • I am using Afterburner and want to add <meta name="revisit-after" content="2 days" /> to the header. I tried placing it in the header but it wasn't listed with the other meta information. Where do I place this code so that it is with the other meta information?

      Thanks!
    • Last Edit: 15 years 4 months ago by Skeeter.
  • Re: SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago
    • Open your template index.php at:
      <Joomla Root>/templates/<your template name>/index.php

      Find below codes:
      <jdoc:include type="head" />
      You can add <meta name="revisit-after" content="2 days" /> before or after that line
    • Skeeter's Avatar
    • Skeeter
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago
    • Thank you, Arifin. That worked, of course, to get the tag in the header but it isn't grouped with the other meta name tags. Does it matter what order the header items are in?

      Thanks!

      www.bpm2.com
  • Re: SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago
    • I think it should be no problem as long as it's inside the <head> and </head> tag. However, if you want to group it, we can hack the Joomla core

      Open this file:
      <joomla-root>/libraries/joomla/document/html/renderer/head.php

      Find below codes:
      $strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

      Add below code under that line:
      $strHtml .= $tab.'<meta name="revisit-after" content="2 days" />'.$lnEnd;

      So, the result will be:
      $strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
      $strHtml .= $tab.'<meta name="revisit-after" content="2 days" />'.$lnEnd;
    • Skeeter's Avatar
    • Skeeter
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago
    • That worked perfectly! I have all Meta name information grouped together.

      Thank you for your time and sharing your knowledge!

      Frank
    • Rich Bean's Avatar
    • Rich Bean
    • Elite Rocketeer
    • Posts: 1194
    • Thanks: 1

    Re: SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago
    • Skeeter's Avatar
    • Skeeter
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago
    • Hey Richard,

      I thought it was worth a try. Index updates seem very slow. But if I was a spider and had the whole world to crawl it would take me awhile to get back around too. :-)

      I am all ears if you have solution.
    • Rich Bean's Avatar
    • Rich Bean
    • Elite Rocketeer
    • Posts: 1194
    • Thanks: 1

    Re: SOLVED Add Meta Tag - revisit after

    Posted 15 years 4 months ago

Time to create page: 0.075 seconds