From b295f9b0bc3d700ec1b0eb3307eaede394d22438 Mon Sep 17 00:00:00 2001 From: kailashloginradius Date: Mon, 9 Dec 2024 13:06:06 +0530 Subject: [PATCH 1/2] resolved canonical not created issue --- src/components/seo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/seo.js b/src/components/seo.js index 8fc60d43e..7241d8f7f 100644 --- a/src/components/seo.js +++ b/src/components/seo.js @@ -43,6 +43,7 @@ const SEO = ({ image: img.includes("https") ? img : `${siteUrl}${img}`, url: `${siteUrl}${withPrefix(pathname || "/")}`, } + console.log(seo.url) seo.url = seo.url.replace("/blog/blog", "/blog") const formatDate = dateString => { const date = new Date(dateString) @@ -107,7 +108,7 @@ const SEO = ({ From 6e1d92ba69340af8d0b1f67a181a225512d304de Mon Sep 17 00:00:00 2001 From: kailashloginradius Date: Mon, 9 Dec 2024 13:07:32 +0530 Subject: [PATCH 2/2] remove console.log --- src/components/seo.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/seo.js b/src/components/seo.js index 7241d8f7f..50f160728 100644 --- a/src/components/seo.js +++ b/src/components/seo.js @@ -43,7 +43,6 @@ const SEO = ({ image: img.includes("https") ? img : `${siteUrl}${img}`, url: `${siteUrl}${withPrefix(pathname || "/")}`, } - console.log(seo.url) seo.url = seo.url.replace("/blog/blog", "/blog") const formatDate = dateString => { const date = new Date(dateString)