REST API connection on another site with post information and permalink

You can bring the post data and term data over via the REST API, but you still have to register custom post types and custom taxonomies on the other site.

Likewise the REST API doesn’t provide you with permalink settings or theme templates, those need to be provided on the other site too.

You’re responsible for setting up the slug/permalink structure on site 2, that’s not data you can just pull from the REST API. You also need to set up the templates and assign them in your code or do it manually.

Ideally, you pull the data in from the REST API by making a request, then store that data by creating a post and giving it the same properties and content as the original. The REST API is just an API for exposing data, the actual processing and retrieval of that data is still up to you, as is how it’s displayed.

tech