summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pages/shop/brands/[slug].jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pages/shop/brands/[slug].jsx b/src/pages/shop/brands/[slug].jsx
index c5b3eaac..f577e2c0 100644
--- a/src/pages/shop/brands/[slug].jsx
+++ b/src/pages/shop/brands/[slug].jsx
@@ -47,7 +47,10 @@ export default function BrandDetail() {
content: `Jual ${brandName}, beli ${brandName}, Distributor ${brandName} Indonesia, cari ${brandName}, produk ${brandName}, ${brandName} Indonesia, harga ${brandName}`,
},
]}
- canonical={`${process.env.NEXT_PUBLIC_SELF_HOST}/shop/brands/${slug}`}
+ // canonical={`${process.env.NEXT_PUBLIC_SELF_HOST}/shop/brands/${slug}`}
+ canonical={`${process.env.NEXT_PUBLIC_SELF_HOST}${
+ router.asPath.split('?')[0]
+ }`}
/>
<Breadcrumb brandName={brandName} />