You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use prefixDefaultLanguage: 'always' in my project and I noticed all my homepage links and the hreflang tags have a trailing slash. Every pathname basically get's /en or /nl prepended to the href attribute. For the homepage this turns <a href="/">Home</a> into <a href="/en/">Home</a>. This causes an SEO issue as every link to the homepages redirects to the correct version without a trailing slash.
The text was updated successfully, but these errors were encountered:
I use
prefixDefaultLanguage: 'always'
in my project and I noticed all my homepage links and the hreflang tags have a trailing slash. Every pathname basically get's/en
or/nl
prepended to the href attribute. For the homepage this turns<a href="/">Home</a>
into<a href="/en/">Home</a>
. This causes an SEO issue as every link to the homepages redirects to the correct version without a trailing slash.The text was updated successfully, but these errors were encountered: