Skip to content

Commit

Permalink
Fix hreflang/x-default metatag
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Mar 31, 2021
1 parent 16b659d commit c9cfb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/shared/seo/seo.view.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const SEO = ({
{pageTranslations && (
<link
hrefLang="x-default"
href={`${siteUrl}/${currentUrl}`}
href={`${siteUrl}/docs${pageTranslations.en.path}`}
rel="alternate"
/>
)}
Expand Down

1 comment on commit c9cfb42

@ppcano
Copy link
Collaborator Author

@ppcano ppcano commented on c9cfb42 Mar 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @vi-nastya

This commit should fix the following issue:

Screenshot 2021-03-31 at 11 14 13

Please sign in to comment.