Skip to content

Commit

Permalink
Fix canonical url consistency (#3938)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers committed Aug 23, 2023
1 parent b1fbef8 commit 7ab7a38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/web/scripts/workers-site/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ class SEOHandlerHead {
description
)}" data-react-helmet="true">
<link rel="canonical" href="https://audius.co${encodeURI(
permalink
)}" data-react-helmet="true">
<link rel="canonical" href="https://audius.co${encodeURI(permalink)}">
<meta property="og:title" content="${clean(title)}">
<meta property="og:description" content="${clean(ogDescription)}">
<meta property="og:image" content="${image}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ const MobilePageContainer = ({
<title>{messages.audius}</title>
)}
{description && <meta name='description' content={description} />}
{canonicalUrl && <link rel='canonical' href={canonicalUrl} />}
{/* TODO: re-enable once we fix redirects and casing of canonicalUrls */}
{/* {canonicalUrl && <link rel='canonical' href={canonicalUrl} />} */}
{structuredData && (
<script type='application/ld+json'>
{JSON.stringify(structuredData)}
Expand Down

0 comments on commit 7ab7a38

Please sign in to comment.