mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: normalize canonical URL to prevent duplicate content issues
This commit is contained in:
@@ -221,7 +221,8 @@
|
||||
content="Create and share code snippets, and text instantly with Sharpbin. Supports syntax highlighting, encryption, expiry, and more."
|
||||
/>
|
||||
<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:description"
|
||||
|
||||
Reference in New Issue
Block a user