ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

LG Better Meta problems

January 14, 2012 3:54pm

Subscribe [1]
  • #1 / Jan 14, 2012 3:54pm

    Rick Lecoat

    128 posts

    When my hosts upgraded to PHP 5.3.8 the other day I had to update my EE1.x installation to 1.7.1. This meant that I also had to update the now-unsupported (by the developer, not by EE1) LG Better Meta to the latest version (1.9.1). However, since that update I’m now having problems with LG Better Meta; I’m finding that my pages no longer have meta data: descriptions and keywords are blank, and the title is all messed up. and can’t work out how to fix it. So I’m turning to you guys.

    For troubleshooting purposes I’m focusing on one blog entry; the URL is http://www.sharkattack.co.uk/blog/view/accessible-captcha-now-on-shark-attack-forms/ and the title of the page, before the update, read: Shark Attack forms all now use accessible captcha |  Blog |  Shark Attack: a design studio.

    Now the title of the page reads simply: | BlogShark Attack: a design studio.

    The Better Meta code that I have in the globally-embedded header template reads thus:

    {exp:lg_better_meta_pl:template
     url_title="{segment_3}"
        <title>{title}</title>
    
     <meta name='description' content='{description}' />
     <meta name='keywords' content='{keywords}' />
     <meta name='robots' content='{robots}' />
    
     <meta name='geo.position' content='{latitude},{longitude}' />
     <meta name='geo.placename' content='{placename}' />
     <meta name='geo.region' content='{region}' />
    
     {if canonical_url}<link rel='canonical' href='{canonical_url}' />{/if}
    
     <link rel='schema.DC' href='http://purl.org/dc/elements/1.1/' />
     <link rel='schema.DCTERMS' href='http://purl.org/dc/terms/' />
     <meta name='DC.title' content='{title}' />
     <meta name='DC.creator' content='{author}' />
     <meta name='DC.subject' content='{keywords}' />
     <meta name='DC.description' content='{description}' />
     <meta name='DC.publisher' content='{publisher}' />
     <meta name='DC.date.created' scheme='DCTERMS.W3CDTF' content='{date_created}' />
     <meta name='DC.date.modified' scheme='DCTERMS.W3CDTF' content='{date_modified}' />
     <meta name='DC.date.valid' scheme='DCTERMS.W3CDTF' content='{date_valid}' />
     <meta name='DC.type' scheme='DCTERMS.DCMIType' content='Text' />
     <meta name='DC.rights' scheme='DCTERMS.URI' content='{rights}' />
     <meta name='DC.format' content='text/html' />
     <meta name='DC.identifier' scheme='DCTERMS.URI' content='{identifier}' />
     }

    …whilst the code in the parent template (in this case the single entry page for the blog entry) reads thus:

    {embed="includes/header" url_title="{segment_3}" title_suffix="Blog”}

    You can see my Better Meta extension settings (as set in the CP) in this pdf:
    http://dl.dropbox.com/u/552703/Better_Meta_extens.pdf

    …and the meta data entered for the specific blog entry can be seen in this pdf:
    http://dl.dropbox.com/u/552703/BetterMeta_entry.pdf

    I’m at a loss to figure out what I’m doing wrong from the archived-off documentation for this legacy product (none of the links in the PDF go anywhere any more—they all just point at ee-garage.com) and I need help. Otherwise, the next time Google sweeps my site it’ll find that every page has different meta data, most of which is insufficient.

    Help pleeeeze!

  • #2 / Jan 15, 2012 7:34am

    Rick Lecoat

    128 posts

    Changed the code inside the embedded header template to be:

    {exp:lg_better_meta_pl:template
    
     entry_id="{embed:entry_id}" 
     weblog_id="{embed:weblog_id}" 
     url_title="{embed:url_title}" 
     title="{embed:title}" 
     title_suffix="{embed:title_suffix}" 
     title_prefix="{embed:title_prefix}" 
     hide_site_title="{embed:hide_site_title}" 
     description="{embed:description}" 
     keywords="{embed:keywords}" 
     author="{embed:author}" 
     publisher="{embed:publisher}" 
     rights="{embed:rights}" 
     date_created="{embed:date_created}" 
     date_modified="{embed:date_modified}" 
     date_valid="{embed:date_valid}" 
     identifier="{embed:identifier}" 
     robots_index="{embed:robots_index}" 
     robots_follow="{embed:robots_follow}" 
     robots_archive="{embed:robots_archive}" 
     canonical_url="{embed:canonical_url}" 
     region="{embed:region}" 
     placename="{embed:placename}" 
     latitude="{embed:latitude}" 
     longitude="{embed:longitude}"
    }

    But it’s made no difference. (Have also cleared the EE caches and the browser caches).

  • #3 / Jan 16, 2012 1:51am

    John Henry Donovan

    12339 posts

    Hi Rick,

    Unfortunately we do not support third-party add-ons in this forum so moving this to Community Help for you.

    I would look into the better meta table in the database to make sure it was upgraded correctly.

    Maybe create an empty local install of EE with Better Meta installed and compare the db tables

    There is always the option of moving up to a supported plugin called SEO Lite

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases