Language Selector Related Plugin for WordPress

Long time ago, round with my brain the idea of write mi blog in other languages but the last political changes of google about duplicate content and inability of WordPress for relate content in other languages had to desist my attempt to do.

Talking with a friend about this, he animate to write a plugin for worpress but I did not know how to start until I went to wordpess congress in Seville (Spain) and get up my curiosity for this CMS, After return of the congress, I decided researched for know how works WordPress and his framework, and the result called language-selector-related plugin for WordPress.

The pugin that I built, is a simple plugin for related WordPress with them that have the same content but in other language (to the Google bot, this case is considerate duplicate content and they is penalized).

The plugin adds in the header of pages, post, and listings, the meta rel=”alternate” hreflang=”xx” that you indicate in each case.

For example. Imagine that you have a post written in British English and Spanish in different blogs and you would like indicate to Google Bot this.

First, you need install and active the plugin language-selector-related in the two blogs that you have the post translated (you can found the plugin language-selector-related in the official WordPress repository. If you not sure that how make it, consult the WordPress documentation for how install plugins from official repository)

Example of how works the language selector related plugin with post in WordPressWhen the plugin is activated, go to the post, edit it and go down to Language selector related box and add the urls and languages that exist the content. Is important indicate all url for all translations that exist the content in diferent languages, included itself.

When you are indicated all languages. Save the content and that’s all. With this, you are indicate to google bot that exist other page with same content but in other language him it is not considerate duplicate content.

Save and repeats this step in the other blog that have the post in the other language and, That’s all. With this, you are indicate to google bot that the content exist in other languages and he not consider duplicate content.

So you can clone this steps in categories, tags, pages and the home. It’s so easy and permit you have blogs in more languages without that google bot considered to it is duplicate content.

I recommend test this plugin and write your feedback. Is free and you can undo changes if you don’t like the results. The plugin is programmed for undo the changes if you decide uninstall it.

Example of how works the language selector related plugin in header blog in WordPress

One thought on “Language Selector Related Plugin for WordPress

  1. blog dino

    Hello mate, very nice and informative article you have shared with all of us. I appreciate your efforts. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *