Migration to a big portal within multisite

I see two parts to your request: images and traffic redirection.

Images: you want to bulk copy thousands of posts over to a new site, thus ensuring that only used images are copied. That is logical, but will work only if the used images are either used as the featured image, attached to the post (not used in another post) or used in a gallery shortcode.

If a post was uploaded, not attached to a post and used in a post, it will not be copied.

There is an add-on that more greedily detects images in posts: All Images. That might get you all the images copied over even though they are not used in a shortcode or as the featured image.

Then you write that you don’t want images copied to the subsites anymore. If you want visitors to the subsites to see images, the images will either have to be copied over or you have to refer to the images statically – no using them as featured images or shortcodes. There are supposed to be plugins that share images between sites on a network, but they usually cause more problems than they solve since requiring a local image ID is a technical limitation of WP.

If you wish to save disk space (which is cheap nowadays) you can use a CDN plugin that deletes the images from disk after they are copied to the CDN. Depending on which CDN you get, you might need the CDN Workaround add-on.

That was images. I’ll reply regarding the traffic in the next post.

You want to redirect all traffic from the subsites to the main site, then write new content on the main site and broadcast to the subsite.

I don’t see the point of having a subsite then?

The permalinks I don’t know how to solve other than custom code, since you’ll need to filter the permalink generation depending on which site the post is from.

Broadcast is generally very good at copying posts 1:1, but not modifying them in-flight.

Thread Starter
Keith

(@keithkhl)

@edward_plainview Thank you for the quick and detailed answer.

For the image part, I can understand that I still have to copy between subsites. As said, storage prices are not that expensive, so I will compromise with that part. It was not a huge issue.

But it seems that images that are uploaded within the post (not a featured image) is not copied by broadcast? is it so? I am not sure but after the simple test, I thought it coped images within the post as well. or is it just the image’s url?

For traffic redirection, I need to keep the subsites (real newspaper sites) running for local government’s regulatory issues. But when it comes to contents control and service to public, I would like to use the main site.

So far, my services have been fragmented and had hard time to have public recognition under a single umbrella. If it were not the regulation, I wouldn’t have the fragmented services, but this is my country I am talking about. What the hxxx.

In worst case, I am ok my people working in subsites, as long as all contents / traffic are gathered to mainsite. My only worry in this case is category. It would be great to assign subsite’s category to mainsite’s category.

I remember you had an add-on that broadcast from child to parent is also possible. After consolidation, I guess i shoot out drafts from parent to child and let my team work on the draft at child page. Once they are done, they can shoot back to parent (mainsite). Not my most wanted set up, but still I can control what is published. Again, in this case, matching category from one subsite to another is a key.

  • This reply was modified 1 hour, 50 minutes ago by Keith.
  • This reply was modified 1 hour, 50 minutes ago by Keith.

There are 3 types of images copied automatically in the basic version of Broadcast:

  • Featured images
  • Attached images (listed as attached to the post in the media list)
  • Images used in gallery shortcodes

Other images will need that All Images add-on I mentioned.

Regarding the broadcasting and the categories: all taxonomy terms are automatically copied over during broadcasting. Either the existing terms are found and used (assuming the same term slug) or the term is created. So your categories will automatically copy over.

On the Broadcast doc page there is a list of snippets you can peruse if you wish to do anything special during broadcast, such as changing the post title / content / author, etc, or changing / adding categories or other taxonomy terms.

So if you broadcast from a subsite to the portal site you can automatically add a category or term or something that stores which site was broadcasted from.

Thread Starter
Keith

(@keithkhl)

@edward_palinview Thx for the update. Didn’t know the term slug is the key for mapping. I will align them accordingly across subsites, then should be OK. Seems like most of my wanted list items can be handled. Great!!

  • This reply was modified 3 minutes ago by Keith.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer