fix: normalize canonical URL to prevent duplicate content issues

This commit is contained in:
2026-04-20 22:04:20 -04:00
parent b962ed9f67
commit ad693b28ea
+2 -1
View File
@@ -221,7 +221,8 @@
content="Create and share code snippets, and text instantly with Sharpbin. Supports syntax highlighting, encryption, expiry, and more." content="Create and share code snippets, and text instantly with Sharpbin. Supports syntax highlighting, encryption, expiry, and more."
/> />
<meta name="robots" content="index, follow" /> <meta name="robots" content="index, follow" />
<link rel="canonical" href={data.url} /> <link rel="canonical" href={data.url.split('/').slice(0, 3).join('/') + '/'} />
<!-- normalized to prevent duplicate content issues -google search console -->
<meta property="og:title" content="Create a Paste - Sharpbin" /> <meta property="og:title" content="Create a Paste - Sharpbin" />
<meta <meta
property="og:description" property="og:description"