WordPress.org

Ready to get started?Download WordPress

Forums

WPML and All in one SEO pack (3 posts)

  1. WebtecAPS
    Member
    Posted 2 years ago #

    Im using WPML (Multi lingual) as a developer of WordPress themes.

    And i normally use All In One SEO Pack also.

    But, i have ran into a problem, when using a static page as frontpage.

    No matter what i do, AIOSEOP takes the default title, description and keywords, and not the ones set on the pages, in other languages.

    After intense Google'ing i found this small hack:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    This DOES fix my title and keywords on the static page. But not the description.

    Any help?

  2. WebtecAPS
    Member
    Posted 2 years ago #

    Sorry, pastebin: http://pastebin.com/kaLtEdWV

  3. sugarFornaciari
    Member
    Posted 2 years ago #

    Hi Webtec, you were very useful and save me lots of time.

    I resolved the same issue changing the tag for description in the code you have posted with "aioseop_description_override"

    in other words, instead of
    add_filter('aioseop_description','custom_aioseop_description');
    use
    add_filter('aioseop_description_override','custom_aioseop_description');

Topic Closed

This topic has been closed to new replies.

About this Topic