简体   繁体   English

如何将Wordpress Multisite与多个TLD结合使用

[英]How to use Wordpress Multisite with multiple TLDs

I'm trying to setup a Wordpress Multisite installation (it's basically for two countries AU and NZ) that shows different content depending on the URL (.com.au and .co.nz). 我正在尝试设置一个Wordpress Multisite安装(基本上是两个国家的AU和新西兰),根据URL(.com.au和.co.nz)显示不同的内容。 I've setup the installation and it seems that by default Wordpress only allows a sub-domain or a sub-directory setup and not a full top-level-domain sub-site. 我已经设置了安装,似乎默认情况下Wordpress只允许子域或子目录设置,而不是完整的顶级域子站点。 Is there a way around this at all? 有没有办法解决这个问题? I would think that this sort of setup is pretty standard. 我认为这种设置非常标准。 Am I missing something obvious or would I need some sort of plugin etc. to achieve this? 我错过了一些明显的东西,还是需要某种插件等来实现这一目标?

Vanilla WP Multisite only support sub-domain and sub-directories but thanks to the awesome developers, you can use the plugin called WordPress MU Domain Mapping to achieve what you've asked for. Vanilla WP Multisite仅支持子域和子目录,但是由于有很棒的开发人员,你可以使用名为WordPress MU Domain Mapping的插件来实现你所要求的。

There's a bit of setting up and installation process and it's all laid out in the #installation section of the plugin page. 有一些设置和安装过程,它们都在插件页面的#installation部分中列出。

Hope this helped and do comment if you've any issues. 如果您有任何问题,希望这有帮助并做出评论。

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

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