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.

ExpressionEngine 2 SEO Module

January 20, 2011 2:14pm

Subscribe [3]
  • #1 / Jan 20, 2011 2:14pm

    mediacontour

    5 posts

    I’ve successfully installed the following module.
    http://ellislab.com/forums/viewthread/160112/

    I’m having issues with it actually outputting the title, keywords and descriptions for page.

    Here is my example code. Any help would be appreciated.

    Thank you.

    _includes.group/.header.html

    <meta name="keywords" content="{embed:seo_keywords}" />
    <meta name="description" content="{embed:seo_description}" />

    pages/index.html

    {exp:channel:entries channel="pages" entry_id="34"}
      {embed="_includes/.header" seo_description="{exp:seo:description entry_id='{entry_id}'}" seo_keywords="{exp:seo:keywords entry_id='{entry_id}'}"}
    {/exp:channel:entries}
  • #2 / Jan 21, 2011 2:05am

    John Henry Donovan

    12339 posts

    mediacontour,

    This is third-party so you will have to contact the authors of the add-on for specific support

  • #3 / Jan 21, 2011 2:15am

    Cheif

    626 posts

    Sorry if those against policy but as Ive just done this, I thought I’d chip in with this:

    pages/index.html should pass just the ID

    {exp:channel:entries channel="pages" entry_id="34"}
      {embed="_includes/.header" theentry_id="{entry_id}"}
    {/exp:channel:entries}

    .header

    <meta name="description" content="{exp:seo:description entry_id="{embed:theentry_id}"}" />
    <meta name="keywords" content="{exp:seo:keywords entry_id="{embed:theentry_id}"}" />
  • #4 / Jan 21, 2011 11:53am

    Ingmar

    29245 posts

    Thanks for stepping in, Cheif. It’s appreciated.

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

ExpressionEngine News!

#eecms, #events, #releases