Skip to content

A Wordpress theme redirect visitors depending to their language. This theme needs a multisite wordpress blog.

Notifications You must be signed in to change notification settings

Huntedpix/Multisite-Language-Switcher-Theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multisite Language Switcher Theme

About

This Theme is a hack for multilingual blog using multisite wordpress. It redirect users from "/" to "/en/" or "/fr/" in function of the accepted languages of the browser. The Theme redirect the 404 error page too.

This theme is a quick and dirty hack for my multilingual blog (http://oncleben31.cc). I don't have any competency in Theme development. Don't hesitate to fork and improve it.

This theme is a good companion to Multisite Language Switcher (by lloc) plugin for Wordpress. I've develop a similar plugin few years ago but this one is far more mature. Give it a try

Set-up Instructions

Install this theme on your network and use this theme for the root blog (which is useless).

TODO

  • use theme option to set the languages and redirect adresses
  • don't use only the prefered language ($Langue[0]), use the others.
  • add an ignore list for (robot.txt or sitemap file generated by plugin or wordpress)

About

A Wordpress theme redirect visitors depending to their language. This theme needs a multisite wordpress blog.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 79.3%
  • CSS 20.7%