[wordpress插件] Domain Mapping System域映射系统

wordpress 插件 文章 2020-04-21 01:10 863 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Up for adoption

准备接受

I’m looking for a developer to adopt the plugin.

我正在寻找开发人员采用该插件。

I’ve started rewriting the plugin

我已经开始重写插件

with a more modern approach (composer, psr-4, …), various bugfixes and new features.

使用更现代的方法(composer,psr-4等),各种错误修正和新功能。

Please get in contact with me

请与我联系

on either GitHub or

GitHub

@_deniaz on Twitter if you're interested

@_deniaz在Twitter上(如果您有兴趣

in taking over as I’m not involved with WordPress anymore (at least for the moment).

因为我已经不再参与WordPress(至少目前是这样),所以接手了。

Important Links

重要链接

Official Website |

官方网站 |

Bug Tracker |

错误跟踪器 |

Support

支持

TL;DR

TL; DR

DMS allows one to map domains to WordPress pages, (custom) posts and (custom) archives.

DMS允许人们将域映射到WordPress页面,(自定义)帖子和(自定义)档案。

Domain Mapping System

域映射系统

Imagine you’ve got a company website based on wordpress with the domain www.mycompany.com,

假设您有一个基于wordpress的公司网站,域名为www.mycompany.com,

all good so far.

到目前为止一切都很好。

Furthermore, you’ve got two products with own domains, e.g.

此外,您拥有两种具有自己域的产品,例如

www.myregularproduct.com

www.myregularproduct.com

and www.myspecialproduct.com.

和www.myspecialproduct.com。

Let’s assume your product pages are micro-sites.

假设您的产品页面是微型网站。

One way to handle this, is by using WordPress Networks.

解决此问题的一种方法是使用WordPress网络。

One important note from WordPress is:

WordPress的一个重要说明是:

If you plan on creating sites that are strongly interconnected, that share data, or share users, then a
  

如果计划创建高度互连,共享数据或共享用户的站点,则
  

multisite network might not be the best solution.
  

多站点网络可能不是最佳解决方案。
  

(http://ow.ly/aQybY)

(http://ow.ly/aQybY)

Well, if you need a shared blog or something similar, this Networks isn’t what you’re looking for.

好吧,如果您需要共享博客或类似内容,则此网络不是您想要的。

But DMS is.

但是DMS是。

With DMS you may point all three domains to the same Apache vhost (or nginx, lighthttpd, …), where your wordpress

使用DMS,您可以将所有三个域都指向同一个Apache虚拟主机(或nginx,lighthttpd等),在此处您的wordpress

instance is running on.

实例正在运行。

You than create a WordPress Page (My Regular Product), perhaps with a custom template.

然后,您可能会使用自定义模板来创建WordPress页面(我的常规产品)。

In the


DMS options you can now configure the domain www.myregularproduct.com to your WordPress page My Regular Product.

DMS选项,您现在可以将域www.myregularproduct.com配置为WordPress页面我的常规产品

As easy as pie!

像馅饼一样简单!

Note;

注意;

the custom template is not handled by DMS, it’s a built-in WordPress feature.

自定义模板不是由DMS处理的,它是内置的WordPress功能。

安装步骤

    1. Upload domain-mapping-system.zip as a plugin into your WordPress instance
    2. 将domain-mapping-system.zip作为插件上传到您的WordPress实例中

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Point all domains to your WordPress vhost
    6. 将所有域指向您的WordPress虚拟主机

    7. Create a WP Page (My Regular Product) or Custom Post
    8. 创建WP页面(我的常规产品)或自定义帖子

    9. Go to Settings -> DMS Options, add your domain and select your page/custom post
    10. 转到“设置”->“ DMS选项”,添加您的域并选择您的页面/自定义帖子

    11. Save
    12. 保存

    13. You’re ready to rumble!
    14. 您准备好了隆隆声!

下载地址
https://downloads.wordpress.org/plugin/domain-mapping-system.1.3.2.zip
-EOF-

AI助手支持GPT4.0