简体   繁体   English

子域上的Wordpress多站点+多语言

[英]Wordpress multisite + multilingual on subdomains

I have a website, using the latest wordpress version, in one language and hosted on a lang.domain.com sub-domain. 我有一个网站,使用最新的wordpress版本,使用一种语言,并托管在lang.domain.com子域中。

Now I build the english (and main) version that will be hosted on the main domain ( www.domain.com/domain.com ) 现在,我将构建英语(和主要)版本,该版本将托管在主要域( www.domain.com/domain.com )上

The sites are currently hosted on a different folders and are completely "stand-alone" systems. 这些站点当前托管在其他文件夹中,并且完全是“独立”系统。

I want them to be integrated under the same platform/folder and serving a multilingual requests, using sub domains. 我希望将它们集成在相同的平台/文件夹下,并使用子域来满足多语言请求。

My questions are: 我的问题是:

  1. Where to start? 从哪儿开始?
  2. What are the limitations? 有什么限制?
  3. Any thoughts to keep in mind? 有什么想法要记住吗?
  4. What other questions should I ask? 我还要问什么其他问题? :) :)

My knowledge in wordpress is basic (themes editing, some functions..), no problem with PHP and MySql. 我对wordpress的了解是基本的(主题编辑,一些功能..),PHP和MySql没问题。

thanks 谢谢

edit 编辑

Found this ( http://codex.wordpress.org/Create_A_Network ) , of-course, and yet - please give me some insights 当然找到了这个( http://codex.wordpress.org/Create_A_Network ),但是-请给我一些见解

Instead of re-creating whole site again you have to use a WPML Plugin then it add some flag as per language to your site, where ever you want them, Alternate option you can also use Google Translator for translate your site into any language. 不必重新创建整个网站,而必须使用WPML插件,然后将每种语言的标记添加到您的网站,无论您希望在何处使用它们,替代选项还可以使用Google Translator将您的网站翻译成任何语言。 Like i use Google Translator in one of mine projects 就像我在一个矿山项目中使用Google Translator

if you want to show different content on the same domain you can use qTranslate wordpress plugin. 如果要在同一域上显示不同的内容,可以使用qTranslate wordpress插件。 Here you can create lang.mydomain.com or mydomain.com/lang or mydomain.com?lang=us. 您可以在这里创建lang.mydomain.com或mydomain.com/lang或mydomain.com?lang=us。 these are the three ways to display the website. 这是显示网站的三种方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM