Headless Sitecore JSS Multi-site with NPM Workspaces

Headless Sitecore JSS Multi-site with NPM Workspaces

So you're building a headless solution in sitecore and you want to create a multi-site solution? How can you do this in a properly headless way? This article explores a simple/light-weight approach to setting this up using NPM Workspaces. We're focusing primarily on the client-side solution here but will briefly run through the Sitecore configuration as well. Solution Design We have 3 websites we need to create which will have some shared components and some unique components and different th…

Read More

Building a dynamic Robots.txt solution using Sitecore Headless Services / NextJs & GraphQL

Building a dynamic Robots.txt solution using Sitecore Headless Services / NextJs & GraphQL

Recently I have been working on a 10.2 Sitecore JSS (NextJS/React) build using SXA for what I think it is best for which is adding Tenants and Sites and managing the Content Tree with Local Data and site-specific Media Library and Data Template management. Something which I found interesting in the early stages of Development using a totally different rendering engine was building out a dynamic Robots.txt solution so I've decided to share the dynamic Robots.txt solution I put together using th…

Read More