Skip to main content

URL Structure

This document sets out the mappings from the Hybris based rapha.cc website to the new next.js website.

There are a number of reasons why the URL structure is changing:

  1. Hybris does not always create user friendly or logical URLs
  2. Next.js does not support dynamic URL parameters at the root of the domain

Clubhouses

PageOld URLNew URL
Clubhouses landing page/clubhouses/clubhouses
Clubhouse page/clubhouses/:clubhouse-slug/clubhouses/:clubhouse-slug

Outliers

These are Clubhouse pages that have been built using a story page and therefore do not have the conventional old URL structure.

PageOld URLNew URL
Munich/munich/clubhouses/munich
Austin/austin/clubhouses/austin
Sydney/sydney/clubhouses/sydney
London/raphalondon/clubhouses/london
Singapore/singapore/clubhouses/singapore

Stories

PageOld URLNew URL
All stories/stories/stories
Stories category pagestories?q=categoryName:category or /:story-category/stories/:story-category
Story page/stories/:story-slug/story/:story-slug

Guides

PageOld URLNew URL
All guides(Does not exist)/guides
Story page(Does not exist)/guides/:guides-slug

Landing pages

PageOld URLNew URL
RCC/rcc/rcc
Bike Hire/rcc/bike-hire/rcc/bike-hire
App/stories/rapha-cycling-club-app/rcc/app
MTB/mtb/mtb
About-/about

Info + FAQ Pages

PageOld URLNew URL
Info Page/:slug/company-information/:slug

PLP (Draft)

PageOld URLNew URL
PLP Category/:category-path/category/:category-code/products/:category-slug

PDP (Draft)

PageOld URLNew URL
PDP/shop/:product-slug/product/:product-sku/product/:product-slug/:product-sku

N.B Still need discussions on how filtering will work.

Checkout (Draft)

Needs to be defined

Locale

Some detail has been written about locales in Confluence.