Configure a custom preview URL per custom post type
2 min
summary when your hub has multiple custom post types, you can configure a separate preview url for each one this is useful when different post types live on different frontend domains or use different url patterns preconditions have the administrator role in purple hub have use external url for preview configured with a base url in settings → purple ds hub configuration in settings → purple ds hub , under use external url for preview , check the configure per custom post type checkbox a collapsible post types section will expand, listing all available post types enter the desired preview url for each post type any post type left blank falls back to the base external url the \<id> placeholder in each url is replaced with the headlessid of the post at preview time constraint configure per custom post type and configure per language are mutually exclusive — enabling one automatically disables the other