There are two options:
-
Register the CPT on blog 2 with
'show_ui' => FALSE
. Hook on blog 1 intosave_post
and copy the data to blog 2.- Pro: You can search in those posts. Correct templates will be used automatically.
- Con: Duplicated data are always a little bit … dirty.
-
Register an endpoint with an URL scheme like the CPT on blog 1 (
EP_ROOT
).- Pro: No duplicated data.
- Con: You have to implement the template logic manually to load the correct theme file. And search will not work.
Related Posts:
- Rewrite Custom Post Type URL slug
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- Custom Post Type URL Rewriting?
- Mixing custom post type and taxonomy rewrite structures?
- How to rewrite URI of custom post type?
- Rewriting a custom-post-type permalink with taxonomy term?
- Remove custom post type slug from URL
- Add .html (dot HTML) extension to custom post types
- Custom rewrite rules for archive page and single post
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- Custom post type, no need for single view, plus want permalink rewrites that include hash in URI
- WPML with WP_Query serving up all 3 languages [closed]
- How to remove slug from hierarchical custom types in 3.5.2
- Custom post types – Use post_id in permalink structure
- Multiple post types – share same ReWrite slug?
- Custom post type yearly/ monthly archive permalinks
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Custom Post Type and Taxonomy URL rewrite
- Custom post type permalink: only use %post_id% and remove %postname%
- Custom post types – Use post_id in permalink structure when using has_archive => true
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- How can I rewrite URLs to pass taxonomy and post type values to the query?
- Rewrite custom post type rss feed links
- Using /%postname% for a custom post type
- Add category to custom post URL
- Why would WordPress use ‘attachment’ in a custom post type’s query string?
- Is it possible to change the URL of custom post types to hide the post type slug?
- Custom Post Type, WP_Query and ‘orderby’
- Custom post type URL with post ID that allows archiving and paging
- Changing the URL Structure of a Paginated Custom Post
- Removing base slug from hierarchical custom post type
- Rewriting ‘rewrite’ slug for custom post type used by plugin
- Templates for Custom Post Types and Custom Taxonomies
- How to modify URL structures in custom post types and taxonomies or terms
- Creating a custom public user page
- Adding meta values to permalink
- Multisite wide post type?
- Archive page with multiple taxonomies rewrite
- rewrite get parameter with custom post type
- Custom post type taxonomies URL rewrite
- WordPress custom taxonomy URL rewrite on spelling errors
- How can i avoid the permalink start with ‘blog’ while using the custom post type?
- Custom Posttype Inheritance (and url structure)
- Enforcing canonical URLs with multiple custom post types
- Permalinks so that one custom post type appears to be a child of another, not working
- How to filter custom post type archive by meta value
- Create permalink structure for one taxonomy archive per custom post type
- Adding %author% in custom post type URL structure?
- Taxonomy archives based on Custom Post Type
- Slug for custom post type archive
- Custom permalinks
- Change page /2 to /transcript with a Rewrite
- Multiple custom post types using the same taxonomy = URL frustrations
- Permalink rewrite with custom post type and custom taxonomy
- Issues when rewrite rules collide?
- Custom post type permalink changing itself every other change
- Taxonomy page returns 404 page not found
- Make permalinks based on an ACF-field
- Child pages on hierarchical Custom Post Types 404s
- Remove unwanted part of permalink custom structure from CPT url?
- Custom post type’s get_permalink returns wrong url
- Custom post type permalink structure with the category also acting as an archive
- Prepend meta_value to permalink of post
- Defining a default page for custom post type
- How to create custom URLs for Custom Post Type sub sections?
- How would I leverage custom Taxonomies in this scenario?
- Pass parameter to custom post type single while keeping clean url
- Custom Permalinks for Custom Post Types and Taxonomies
- WordPress returns 404 on custom rewrite rule conflict in parameters
- Rewrite custom post type url’s adding meta box values
- Custom Post Type Rewrite Rule for Author & Paging?
- How to have a custom URL structure for a custom post type?
- Removing parent slug from URL on custom post type
- Multiple parameters in a custom post type url rewrite
- Display CPT taxonomies as an archive page
- Permalinks for CPT breaks permalinks to pages
- WordPress custom post type url change
- Including two taxonomies in a permalink structure
- WP Rewrite Rules – Custom post type & taxonomy
- How to create download links based on Custom Fields with Rewrite API
- URL rewrite and navigation structure for wordpress custom post type
- Changing a custom post type “has_archive” after registered
- Removing CPT slug from URL results in 404 error for archive page
- Querying Posts by Taxonomy From Alternate Network Site
- URL Design for Sub-Posts?
- Many to Many Taxonomies or rewrite rules?
- Remove base slug in CPT & CT, use CT in permalink
- How to rewrite custom post type URL for multiple depths instead of one specific depth
- How to properly prefix blog post URL’s
- Custom post type category, taxonomy and URL rewrite problem
- remove post-name from title in custom post type
- Regex problem in an add_rewrite_rule
- Getting Post ID from slug during init
- Rewrite custom post & taxonomy to share same URL path
- WPMU: Programmatically adding CPT posts to specific blog id
- How do I list terms of a custom taxonomy at i.e. domain.com/brands/
- Permalink Structure problem with cpt and custom taxonomy
- how to use two permalinks for one custom post type
- Rewrite on custom post type permalink not working?
- Multiple Permalinks for custom post type post