WordPress Announcements News and Info
WordPress Announcements News and Info

Automatic Subdomains for WordPress

Automatic Subdomains is a WordPress plugin by The Jake Group 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 page ‘pagename’ or post ‘name’. 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:
Domain Name Mapping example.com default homepage (no remapping) http://www.example.com default homepage (no remapping) test-page.example.com http://www.example.com/test-page/ mypost.example.com http://www.example.com/mypost

Download: http://wordpress.org/extend/plugins/automatic-subdomains/

Leave a comment

Your email address will not be published. Required fields are marked *