admin管理员组文章数量:1310415
I need to setup WP multisite in a fashion:
blog.mydomain
blog.mydomain.co.uk
blog.mydomain.it
blog.mydomain.hu
Is there a specific way to get this working? I've read about approaches like it.mydomain, hu.mydomain
or mydomain/it, mydomain/hu
but I haven't found an example that would solve my problem. The main domain mydomain
will be running something completely different, so I need WP just to handle the blog part blog.mydomain
. I guess I'll also need some language plugin like Polylang.
Thanks
I need to setup WP multisite in a fashion:
blog.mydomain
blog.mydomain.co.uk
blog.mydomain.it
blog.mydomain.hu
Is there a specific way to get this working? I've read about approaches like it.mydomain, hu.mydomain
or mydomain/it, mydomain/hu
but I haven't found an example that would solve my problem. The main domain mydomain
will be running something completely different, so I need WP just to handle the blog part blog.mydomain
. I guess I'll also need some language plugin like Polylang.
Thanks
Share Improve this question asked Jan 18, 2021 at 11:08 dalliondallion 1 2- 1 With the latest WordPress, it should be no problem to setup your multisite in the fashion you have described (as long as domains are mapped correctly). Have you tested it already? As for multi language: sadly it is off topic for this Q&A as it is not in core yet. MultilingualPress should work for this, as it is designed for multisite (polylang/WPML/.. are as far as I know not). – kero Commented Jan 18, 2021 at 11:16
- Multisite gives you multiple separate sites on the same install. If those domains all have the same site but at different addresses then that is not what multisite was intended to do. Note that if your problem is that you want to translate your site and have the translated version available at a different URL, you should have asked how to do that. Ask how to solve your problem, not how to implement your solution. – Tom J Nowell ♦ Commented Jan 18, 2021 at 12:56
1 Answer
Reset to default 0I don't think you have the right approach for this problem.
Here, you're talking about 4 domains, not subdomains. Subdomains are what usually replace the www in an url.
And, if you create a multisite network, then you won't need to have a multilingual plugin since you plan on having only one language per website.
Having a multisite network is useful if you plan on having a different content for each website of the network. However, if you plan on having the same content in different languages, then I'll advise against it.
If you want to have the same content in different languages, you should only create one WordPress website with a multilingual plugin such as WPML or Polylang. It will save you some time as translating a page/post is easier than recreating it on another website.
Regarding the website url for each language, it's also easy to set up. I know that at least WPML includes this natively and gives you tutorials to set up your DNS for that purpose.
So, as a result, I would suggest :
- Create a single website with a multilingual plugin
- Setup your different domains to redirect to a specific language version of your website
本文标签: Wordpress Multisite on multiple subdomains
版权声明:本文标题:Wordpress Multisite on multiple sub-domains 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741826670a2399684.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论