WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
qTranslate handeling with All in One SEO Pack (1 post)

  1. medhatraafat
    Member
    Posted 1 year ago #

    I've been looking for a compatibility issue for other plugins for SEO, with qTranslate, the most common multi-language plugin for wordpress. till now I couldn't find an SEO plugin that handle that, except for some personal tries, that may work, till you upgrade All in One SEO Pack, then may be fails, idea of qTranslate is parsing the language as follow:
    [:en]Red[:fr]Rouge[:gr]Rot

    I've found a workout around this here:
    by editing functions.php

    // Enable qTranslate for WordPress SEO
    	function qtranslate_filter($text){
    		return __($text);
    	}
    	add_filter('wpseo_title', 'qtranslate_filter', 10, 1);
    	add_filter('wpseo_metadesc', 'qtranslate_filter', 10, 1);
    	add_filter('wpseo_metakey', 'qtranslate_filter', 10, 1);

    My Question is: that a proper or correct handling ?

    Really it is an important issue for a lot of users, hope Mr. Michael Torbert, can support that ...

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic