Automatic Subdomains

Automatically maps subdomains to page and post permalinks based on the post slug.

Author:Tyler Bruffy & Mark Wahl (profile at wordpress.org)
WordPress version required:2.3
WordPress version tested:3.4.2
Plugin version:1.2
Added to WordPress repository:10-02-2012
Last updated:11-04-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://www.thejakegroup.com/wordpress/
Total downloads:10 475
Active installs:40+
plugin download
Click to start download

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/


FAQ
ChangeLog