1
Jun
email Twitter

Posted in: Plugins, WordPress

Landing Page Language

Sometimes you want specific users to view a different language home page when they visit your site, it usually is the case when a user from a different country, who does not master your language, comes across your site.

This does not mean that you need to translate every single page on your site for all users (for all languages). but it is good sometimes (especially if you have an influx of users from a foreign country)  to have a different landing page that is in their language to help them around your site.

This is why I came up with this plugin. view the WordPress plugin page.

All you need to do is install the plugin (best to do this by logging into your WordPress site and adding the plugin via the “Add New Plugin” feature – you can search for the plugin by typing “landing page language”).

Once the plugin is installed you can create pages with permalinks that match the language locals, for example “es” for spanish, “de” for detuch, etc…

If those pages are created as sub pages of an existing parent – so the URL to those pages might be something like:
“yoursite.co.uk/language/es/” then you can add the extra permalinks by going to “Settings” and amending the “Landing page language defaults” settings.

That’s it – you’re good to go. Now when a user who’s browser is set for Spanish as a default language visits your site the first time – they will be redirected from the home page to the Spanish page.

The plugin will only direct the user once (using a session variable), so if the user clicks on the home page after visiting the language page they will be directed to the regular home page (to allow them to view the regular home page)

So, have a look, download and enjoy and let me know how it goes? suggestions and comments are always welcomed…

No Comments

Got something to say? Leave a comment