Use Meshkee {id}/{fa-slug} detail URLs for products and blogs.
Resolve pages via by-id APIs, slugify Farsi titles for public paths, and redirect legacy slug-only URLs to the canonical form. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
24b5649abd
commit
0cb9aa57e2
@@ -101,7 +101,7 @@ export function BlogCarousel({
|
||||
key={post.slug}
|
||||
className="w-[min(85vw,340px)] shrink-0 snap-start rounded-2xl border border-line bg-white p-3"
|
||||
>
|
||||
<Link href={`/blog/${post.slug}`} className="group block">
|
||||
<Link href={blogHref({ id: post.slug, title: post.title })} className="group block">
|
||||
<div className="overflow-hidden rounded-xl">
|
||||
<Placeholder
|
||||
src={post.image}
|
||||
|
||||
Reference in New Issue
Block a user