My Goal:
- Blog Homepage: Accessible at
/blog
, displaying a list of all blog articles. - Individual Blog Articles: URLs following the structure
/blog/[slug]
(e.g.,/blog/my-first-post
,/blog/article1
, etc.), dynamically generated from the database. - SEO Considerations: Each article should have its own unique metadata (title, description, etc.), and Bubble should automatically update the sitemap as new posts are added.
The Problem:
- Bubble doesn’t allow two pages with the same name (
/blog
for the homepage and/blog/[slug]
for articles). - If I create a separate page for articles (e.g.,
/newpage
), it breaks the/blog/[slug]
structure and forces articles into/newpage/[slug]
instead.
My Question:
How can I correctly set this up in Bubble so that:
/blog
serves as the blog homepage/blog/[slug]
dynamically loads individual articles- SEO elements (dynamic metadata, sitemap updates) are optimized automatically
Is there a best practice workaround for handling this URL structure in Bubble?