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.

SEO: Meta Tags

January 24, 2008 11:00pm

Subscribe [14]
  • #16 / Mar 27, 2008 9:05pm

    Leevi Graham

    1143 posts

    I’m just getting started with LG Better Meta and am having trouble getting the settings from the Better Meta TAB on the PUBLISH page to override the Extension Settings in ADMIN.

    As per the USAGE setup instructions, after I:

    - Created a new entry in one of the weblogs listed in the Weblog IDs extension setting;
    - Entered entry specific values;
    - Added {exp:lg_better_meta} to the <head> of my Permalink template;

    I’m not able to override the default extension settings for an individual entry: as indicated on this page.

    Any suggestions as to what I need to do to be able to override the extension settings via the Better Meta tab on the Publish page?

    Thanks.

    To display entry specific meta you must either use the entry_id or url_title paramater. http://leevigraham.com/cms-customisation/expressionengine/lg-better-meta/#lg-better-meta

  • #17 / Mar 27, 2008 11:15pm

    ramonekalsaw

    377 posts

    To display entry specific meta you must either use the entry_id or url_title paramater. http://leevigraham.com/cms-customisation/expressionengine/lg-better-meta/#lg-better-meta

    LG,

    I’m a bit confused. When I add the ‘entry_id’ to my template the page renders with the meta showing the data I entered in the Better Meta Tab on the Publish page. But obviously, this is only relevant for that particular entry. Then when I entered “Weblog ID” from the Extension Settings tab, I wind up with the meta site settings.

    So I could still use a nudge in the direction to get the LG Better Meta tag set up so that it delivers the Better Meta I enter on each Publish page—within the “Weblog ID” specified in the Extension Settings.

    Thanks for helping me get this right.

  • #18 / Mar 27, 2008 11:28pm

    Leevi Graham

    1143 posts

    Im my mind your always on some kind of entry page. So I always display the meta for a single entry… even if there is content from more than one weblog… What are you trying to achieve exactly?

  • #19 / Mar 28, 2008 1:35am

    ramonekalsaw

    377 posts

    What are you trying to achieve exactly?

    Basically, I want to have whatever I enter via the Better Meta tab show up in the View Source for that page in the browser, and when I don’t enter data in the Better Meta tab have the site settings appear in View Source.

    I think my EE-challenged mind is missing some obvious point ... and thanks for hanging with me ...

    Ramone

  • #20 / Mar 28, 2008 1:41am

    Leevi Graham

    1143 posts

    What are you trying to achieve exactly?

    Basically, I want to have whatever I enter via the Better Meta tab show up in the View Source for that page in the browser, and when I don’t enter data in the Better Meta tab have the site settings appear in View Source.

    I think my EE-challenged mind is missing some obvious point ... and thanks for hanging with me ...

    Ramone

    To show entry specific meta data use the entry_id paramater or the url_title paramater.

    {exp:lg_better_meta entry_id="1"} or {exp:lg_better_meta url_title="my-entry"} or even better {exp:lg_better_meta url_title="{segment_3"}

  • #21 / Mar 28, 2008 2:44pm

    ramonekalsaw

    377 posts

    Looks like it’s working. Thanks.

  • #22 / Jun 27, 2008 2:47pm

    lebisol

    2234 posts

    Hey there,
    What do you guys think of using some form of separation model?
    Perhaps weblog dedicated to “meta” with desired fields and then relate metaweblog entries with myweblog entries? This collection/metaweblog in return could be then be treated as “tags” as well…without plug-ins.
    Just thinking out-loud, have not tried any of the plugins.

  • #23 / Jun 27, 2008 2:48pm

    Lisa Wess

    20502 posts

    My personal opinion is that you can easily make things more complicated than they need to be.  Unless there is really a reason to do that - why take those steps?

  • #24 / Jun 27, 2008 3:05pm

    lebisol

    2234 posts

    My personal opinion is that you can easily make things more complicated than they need to be.  Unless there is really a reason to do that - why take those steps?

    I blame EE….IT gives me these ideas 😊
    Reason: Perhaps…not having to pay for the two plugins…being able to do more with the core…

    But I see your point…1-2 extra fields in weblogs vs. another weblog + related entries…I suppose it is extra process/db/page load for something as ‘aged’ as meta tags.

    Thanks for bouncing these ideas and above all thanks for your tutorial.
    All the best!

  • #25 / Jun 27, 2008 3:07pm

    Lisa Wess

    20502 posts

    Pay for plugins?  My article, at least, was fully out of the box, free with EE, and quite simple. =)

  • #26 / Jun 27, 2008 3:22pm

    lebisol

    2234 posts

    Pay for plugins?  My article, at least, was fully out of the box, free with EE, and quite simple. =)

    Right 😊 and it is a great article…too much coffee for me….to many light bulbs at ones.

  • #27 / Aug 19, 2008 12:45pm

    meslater

    16 posts

    in Lisas post http://ellislab.com/blog/entry/seo_meta_tags/

    the code she uses

    <head>
    {exp:weblog:entries weblog="default_site" limit="1" rdf="off"
    disable="categories|member_data|pagination|trackbacks|category_fields"}
     <title>{title} - {weblog}</title>
     <meta name="description" content="{ds_meta_description}" /> 
    {/exp:weblog:entries} </head>

    references the “default_site” which is teh shortname for the default
    weblog. If i tried to use this method with a site that has multiple
    weblogs do I have to use conditionals? Is default_site a global variable?

    Thanks

  • #28 / Aug 19, 2008 1:30pm

    Lisa Wess

    20502 posts

    Nope, no conditionals needed.  Just pipe all the weblog shortnames into weblog=.  Documentation is here for the weblog= parameter.

    default_site is not a global variable, just the short name for the weblog in question, the one that EE installs at first.

    The code then would end up looking something like:

    <head>
    {exp:weblog:entries weblog="default_site|weblog_1|weblog_2" limit="1" rdf="off" 
    disable="categories|member_data|pagination|trackbacks|category_fields"} 
    <title>{title} - {weblog}</title> 
    <meta name="description" content="{ds_meta_description}" /> 
    {/exp:weblog:entries}
    </head>
  • #29 / Aug 28, 2008 5:36pm

    meslater

    16 posts

    Nope, no conditionals needed.  Just pipe all the weblog shortnames into weblog=.  Documentation is here for the weblog= parameter.

    default_site is not a global variable, just the short name for the weblog in question, the one that EE installs at first.

    The code then would end up looking something like:

    <head>
    {exp:weblog:entries weblog="default_site|weblog_1|weblog_2" limit="1" rdf="off" 
    disable="categories|member_data|pagination|trackbacks|category_fields"} 
    <title>{title} - {weblog}</title> 
    <meta name="description" content="{ds_meta_description}" /> 
    {/exp:weblog:entries}
    </head>

    My questions is this is there an elegant way to deal with multiple blogs when not using the same field groups? I have 5 weblogs some sharing a field group others using a standalone. Since I was not able to use the same field name I had to create 3 different custom fields i.e. seo_description, description, meta_description. So if I want to use the example above I need to create 3 separate head embeds? Once for each set of custom fields? Or is there a way to enter a conditional so that I could swap out the field name

    if this weblog “{description}” of this weblog “{seo_description}” if this weblog “{meta_description}”

    can you even use conditionals in the head tag?
    _______
    Ok so I am a newbie and while i hear the arguments but description is utilized by google and displayed in search results so there remains a marketing opportunity there. I also think its valuable for the client to know what the keywords are so that they are writing posts appropriately from title to body content including the most valuable keyword pairs and keywords.

  • #30 / Aug 28, 2008 6:28pm

    Lisa Wess

    20502 posts

    You can just put the variable itself; if it’s empty, nothing will show.  That’s the easiest way, no conditionals needed. =)

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

ExpressionEngine News!

#eecms, #events, #releases