{"id":16849,"date":"2012-02-10T04:12:17","date_gmt":"2012-02-10T04:12:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/automatic-subdomains\/"},"modified":"2013-04-11T20:31:11","modified_gmt":"2013-04-11T20:31:11","slug":"automatic-subdomains","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/automatic-subdomains\/","author":8612864,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"3.4.2","requires":"2.3","requires_php":"","requires_plugins":"","header_name":"Automatic Subdomains","header_author":"Tyler Bruffy & Mark Wahl","header_description":"","assets_banners_color":"","last_updated":"2013-04-11 20:31:11","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.thejakegroup.com\/","header_plugin_uri":"http:\/\/www.thejakegroup.com\/wordpress\/","header_author_uri":"http:\/\/www.thejakegroup.com","rating":5,"author_block_rating":0,"active_installs":20,"downloads":11110,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1600,939,3014],"plugin_category":[59],"plugin_contributors":[84632],"plugin_business_model":[],"class_list":["post-16849","plugin","type-plugin","status-publish","hentry","plugin_tags-landing-pages","plugin_tags-permalinks","plugin_tags-subdomains","plugin_category-utilities-and-tools","plugin_contributors-the-jake-group","plugin_committers-the-jake-group"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/automatic-subdomains.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The purpose of this plugin is to facilitate deployment of subdomain links to \nlanding pages on a WordPress website. The plugin automatically maps subdomains \nto page and post permalinks based on the post_name field in the database. \nThere are no administrative settings.<\/p>\n\n<p>This plugin DOES NOT edit DNS zone files. Subdomain DNS records themselves \neither need to be set up individually or as a wildcard record in the DNS zone \nfile to map to the website directory. Once the request reaches the WordPress \nsystem, the plugin will automatically check to see if the subdomain matches a \npage or post name. If so, the WordPress query is edited to get that page\/post \nat its permalink. The WordPress siteurl is excluded, as is the naked \nsecond-level domain.<\/p>\n\n<p>Example mappings:<\/p>\n\n<p>URL &rarr; Mapping<br \/>\nhttp:\/\/example.com &rarr; default homepage (no remapping)<br \/>\nhttp:\/\/www.example.com &rarr; default homepage (no remapping)<br \/>\nhttp:\/\/test-page.example.com &rarr; example.com\/test-page\/<br \/>\nhttp:\/\/mypost.example.com &rarr; example.com\/mypost\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>automatic-subdomains<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> \ndirectory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Does this plugin edit my domain's DNS zone file?<\/dt>\n<dd><p>No. You must first edit your zone file to create the subdomains or a wildcard \nsubdomain to resolve to your WordPress site.<\/p><\/dd>\n<dt>Must I have certain permalink settings?<\/dt>\n<dd><p>No. You may use any permalink settings.<\/p><\/dd>\n<dt>To what page\/post will my subdomain map?<\/dt>\n<dd><p>Subdomains will map to pages and posts based on the post_name field in the \ndatabase. The subdomain must match the post_name exactly in order to map, or \nit will redirect to the homepage.<\/p><\/dd>\n<dt>What if I have a fourth, fifth, etc. level domain?<\/dt>\n<dd><p>The mapping will be made based on the deepest (left-most) element of the full \ndomain name.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3<\/h4>\n\n<ul>\n<li>Bug Fix: Fixes potential compatibility issue with other plugins.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Bug Fix: Fixes potential redirect loop issue.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Rewrite to rely on post_name instead of page-name and name.<\/li>\n<li>Fixed bug causing child level pages not to map appropriately.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial launch.<\/li>\n<\/ul>","raw_excerpt":"Automatically maps subdomains to page and post permalinks based on post slug.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16849"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/the-jake-group"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16849"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16849"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16849"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16849"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16849"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}