Blog

14 posts on Sitecore and Next.js.

2026

2025

Sitecore Search: Widget Rules

Learn how slots and boost, bury and blacklist rules shape Sitecore Search widget results, and what happens when you combine them.

Handling Server Error (500) in a Sitecore JSS + Next.js Multisite Setup

Set up a Sitecore-managed 500 page that resolves per site by hostname in a Sitecore JSS Next.js multisite app, with a static fallback.

Part 2: Optimizing Sitecore Context Injection with Caching

Add an in-memory cache keyed by site and language to your Sitecore JSS page-props-factory plugin so global data is not refetched on every request.

Part 1: Enhancing Sitecore JSS with Global Context Data Injection

Inject global configuration data into the Sitecore JSS context with a page-props-factory plugin and read it anywhere with useSitecoreContext.

Sitecore Setup

Install Sitecore 10.3 XP on a Windows machine, from enabling IIS and installing SQL Server Express to setting up Solr and running the installer.

Sitecore Search Recommendations: A Step-by-Step Guide

Create a Sitecore Search recommendation widget in the CEC portal, pick a recipe and rules, then render it in Next.js with useRecommendation.

Implementing Range Facets in Sitecore Search with Next.js

Configure a histogram range facet in Sitecore Search and render it as a price slider in Next.js, with custom labels and URL sync.

Implementing Custom 404 Pages in Sitecore JSS Next.js Multisite

Create a custom 404 page in Sitecore and render the right one per site in a Sitecore JSS Next.js multisite app, with a static fallback.

2024

2023

Esc