Skip to content

Custom post type settings ​

By default, the plugin is configured to work on the core page post type. It is possible, however, to activate support for the core post type and you can also enable support for any custom post types that are configured as public.

In this article

To enable support for post types ​

  1. Head to WP Landing Kit > Settings.
  2. Check the post types you want to support next to the Mappable Post Types setting.
  3. Hit Save Changes.

The following things will happen once a post type is enabled: ​

  • The Mapped URLs admin column will be added to the admin post list screen for that type.
  • The custom post type will be available for selection on the single domain edit page inside the Mappings meta box.
  • The post type will be searchable within the post search field in the Mappings metabox, under the Resource dropdown, when editing a domain's settings directly in Domains.

The plugin that registered the post type does not matter. A post type created by another plugin or a custom post type tool appears under Mappable Post Types as long as WordPress registers it as public.

Enabling a post type makes its entries available as mapping resources, but it does not map any of them on its own. To serve a group of entries on a mapped domain without adding a mapping for each one, check Map internal all posts on the mapping that covers them, such as a post type archive or taxonomy term archive mapping. For the full workflow, see Automatically Map All Posts Within a Category.

Links typed into your content as full URLs (for example, https://example.com/deals/sample-deal/) keep pointing to your main site's domain. Use the mapped domain in those links if visitors should stay on it.

If you disable support for a given post type ​

  • Requests made to any domain that is mapped to an unsupported custom post type will be redirected back to the main site's domain. The redirect will maintain any path and query string.

Mapped domain post titles are limited to domains ​

When entering a domain as the post title, the protocol, path, and query string are removed so it is only possible to enter the domain host. e.g. If you enter a post title of http://example.com/some/page?with=query, the URL will be stripped down to example.com on post save.

Was this helpful?