Route user products as /user-products/{id}/{slug}.
Load details via by-id, build links from pathSlug/title, redirect legacy slug URLs, and update the sitemap template. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
b36c07e28f
commit
5a6ef9e0e0
@@ -96,7 +96,7 @@ function main() {
|
||||
staticPages,
|
||||
// Mashinify public paths differ from Meshkee catalog defaults.
|
||||
templates: {
|
||||
userProduct: "/user-products/{slug}",
|
||||
userProduct: "/user-products/{id}/{slug}",
|
||||
blog: "/blog/{slug}",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user