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
+1
-1
@@ -80,7 +80,7 @@ export default async function BlogPage({
|
||||
{blogPosts.map((post) => (
|
||||
<Link
|
||||
key={post.slug}
|
||||
href={`/blog/${post.slug}`}
|
||||
href={blogHref({ id: post.slug, title: post.title })}
|
||||
className="group block rounded-2xl border border-line bg-white p-3"
|
||||
>
|
||||
<div className="overflow-hidden rounded-xl">
|
||||
|
||||
Reference in New Issue
Block a user