WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
SEO plugin that works fine with Polylang (3 posts)

  1. jpascu
    Member
    Posted 2 years ago #

    Chouby,

    Do you please know if there is any SEO plugin that works together with Polylang?

    The idea is to have different values for the SEO keywords depending on the language the search engine is using...

    Thanks in advance!

    http://wordpress.org/extend/plugins/polylang/

  2. yoyurec
    Member
    Posted 2 years ago #

    I hope any! all metada (titles, keywords, etc) should store in post. Other lang versions of post is separate post, so it have own metadata.

    If you want separate info for whole site, not for each post - add to your header.php condition:

    <?php
    	$curlang = substr(get_bloginfo('language'), 0, 2);
    	if($curlang == "en") {
    			// meta keywords & description for english
    		}
    	elseif($curlang == "de") {
    			// meta keywords & description for deutsch
    		}
    ?>
  3. jpascu
    Member
    Posted 2 years ago #

    Thanks for the tip!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags