plugin-icon

Automatic Subdomains

Automatically maps subdomains to page and post permalinks based on post slug.
Betyg
5/5
Version
1.2
Aktiva installationer
20
Senast uppdaterat
Apr 11, 2013

The purpose of this plugin is to facilitate deployment of subdomain links to landing pages on a WordPress website. The plugin automatically maps subdomains to page and post permalinks based on the post_name field in the database. There are no administrative settings.

This plugin DOES NOT edit DNS zone files. Subdomain DNS records themselves either need to be set up individually or as a wildcard record in the DNS zone file to map to the website directory. Once the request reaches the 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 at its permalink. The WordPress siteurl is excluded, as is the naked second-level domain.

Example mappings:

URL → Mapping http://example.com → default homepage (no remapping) http://www.example.com → default homepage (no remapping) http://test-page.example.com → example.com/test-page/ http://mypost.example.com → example.com/mypost/

Gratispå Business-paket
Testat upp till
WordPress 3.4.2
Detta tillägg är tillgängligt för nedladdning för din .