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:
- Hybris does not always create user friendly or logical URLs
- Next.js does not support dynamic URL parameters at the root of the domain
Clubhouses
| Page | Old URL | New 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.
| Page | Old URL | New URL |
|---|
| Munich | /munich | /clubhouses/munich |
| Austin | /austin | /clubhouses/austin |
| Sydney | /sydney | /clubhouses/sydney |
| London | /raphalondon | /clubhouses/london |
| Singapore | /singapore | /clubhouses/singapore |
Stories
| Page | Old URL | New URL |
|---|
| All stories | /stories | /stories |
| Stories category page | stories?q=categoryName:category or /:story-category | /stories/:story-category |
| Story page | /stories/:story-slug | /story/:story-slug |
Guides
| Page | Old URL | New URL |
|---|
| All guides | (Does not exist) | /guides |
| Story page | (Does not exist) | /guides/:guides-slug |
Landing pages
| Page | Old URL | New 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
| Page | Old URL | New URL |
|---|
| Info Page | /:slug | /company-information/:slug |
PLP (Draft)
| Page | Old URL | New URL |
|---|
| PLP Category | /:category-path/category/:category-code | /products/:category-slug |
PDP (Draft)
| Page | Old URL | New 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.