The purpose of this plugin is to facilitate deployment of subdomain links to
此插件的目的是促进子域链接的部署
landing pages on a WordPress website.
WordPress网站上的目标网页。
The plugin automatically maps subdomains
该插件会自动映射子域
to page and post permalinks based on the post_name field in the database.
根据数据库中的post_name字段来分页和发布永久链接。
There are no administrative settings.
没有管理设置。 p>
This plugin DOES NOT edit DNS zone files.
此插件不编辑DNS区域文件。
Subdomain DNS records themselves
子域DNS记录自己
either need to be set up individually or as a wildcard record in the DNS zone
需要单独设置或在DNS区域中作为通配符记录
file to map to the website directory.
文件以映射到网站目录。
Once the request reaches the WordPress
一旦请求到达WordPress
system, the plugin will automatically check to see if the subdomain matches a
系统,插件将自动检查该子域是否与
相匹配
page or post name.
页面或帖子名称。
If so, the WordPress query is edited to get that page/post
如果是这样,将编辑WordPress查询以获取该页面/帖子
at its permalink.
在其永久链接上。
The WordPress siteurl is excluded, as is the naked
WordPress站点URL除外,裸露的也是如此
second-level domain.
第二级域。 p>
Example mappings:
映射示例: p>
URL → Mapping
URL→映射
http://example.com → default homepage (no remapping)
http://example.com→默认主页(不重新映射)
http://www.example.com → default homepage (no remapping)
http://www.example.com→默认主页(不重新映射)
http://test-page.example.com → example.com/test-page/
http://test-page.example.com→example.com/test-page/
http://mypost.example.com → example.com/mypost/
http://mypost.example.com→example.com/mypost / p>