简体   繁体   English

多站点 Wordpress DNS 记录

[英]Multisite Wordpress DNS Records

I'm setting up a webshop at example.nl and I have bought another domain (example.com) which I intend to use for the English version of my webshop.我正在 example.nl 上建立一个网上商店,并且我购买了另一个域 (example.com),我打算将其用于我的网上商店的英文版。 I've set up a wordpress multisite to accomplish this, but I'm stuck.我已经设置了一个 wordpress 多站点来完成此操作,但我被卡住了。 My goal is to set up as follows: NL = example.nl, EN = example.com, DE = example.com/de/.我的目标是设置如下:NL = example.nl,EN = example.com,DE = example.com/de/。 Right now the international websites, nor their wordpress dashboards are accessible, I think this has to do with the DNS records.现在国际网站,也不能访问他们的 wordpress 仪表板,我认为这与 DNS 记录有关。 What should I change in order to make this work?为了使这项工作,我应该改变什么?

You can choose different URL formats when building a multilingual website.搭建多语种网站时可以选择不同的URL格式。

1. ccTLDs: Country Code top-level Domains example.es (Spain) example.de (Germany) 1. ccTLDs:国家代码顶级域名example.es(西班牙)example.de(德国)

2. gTLDs: Subdomains with generic top-level domains es.example.com it.example.org 2. gTLD:具有通用顶级域的子域es.example.com it.example.org

3. gTLDs: Subdirectories with Generic top-level domains example.com/es/ example.com/en/ 3. gTLD:具有通用顶级域的子目录example.com/es/example.com/en/

You need to use plugins like WPML and Wordpress MU Domain Mapping .您需要使用WPMLWordpress MU Domain Mapping等插件。

WPML Multi Domain Setting WPML 多域设置

Worpress MU Domain Mapping Worpress MU 域映射

Earlier in 2016, I used subdomain format for my categories: example.com/category/food output was like; 2016 年初,我为我的类别使用了子域格式:example.com/category/food output 就像; food.example.com and it was a successful implementation with wp plugn+dns,wildcard settings. food.example.com 并且使用 wp plugn+dns,通配符设置成功实现。

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

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