Does anyone have a solution on how to duplicate content on two different sites on the same installation? I have a siteA and a siteB with different hostnames and starting points and I need to have the same list of articles (with working urls) on both sites. The list of articles can reside on one of the sites or on a global level.
Thank you for any help!
Do the articles needs to have different urls for each site or is it OK that the articles only have one url?
If you need to have different URLs for each site you could either create duplicates on each site that is set to "Fetch content from" and point to the global articles.
Another alternative is to create a partial router. Joel Abrahamsson wrote a great article on that topic.
You could write a content provider. There is one in the Alloy template project, that will get you going.
It would be fine with the same path to the articles but the is different for the two sites. I was hoping there would be a simple way to do this as I would say it is a common task in content management when dealing with multiple sites.
I use a block to show the articles on both sites and I have managed to fetch the global articles using the "shortcut to page" where the shortcut points to the parent of the global articles. I can also show the articles in a feed in both sites, but when I navigate to full view of one of the articles I get a 404 because it is not available on that domain. So I should probably look into the partial router?
Thanks for your help!