next-sitemap
duplicated language in alternate ref path (href)
#884
Labels
bug
Something isn't working
next-sitemap
duplicated language in alternate ref path (href)
#884
Describe the bug
Refer: https://stackoverflow.com/questions/74108508/next-sitemap-duplicated-language-in-alternate-ref-path-href
We have duplicated for '/en' when I config as below
module.exports = {
siteUrl: 'https://www.ora-candle.com'
generateRobotsTxt: true,
i18n: {
locales: ['en', 'vi'],
defaultLocale: 'vi',
},
changefreq: 'monthly',
generateIndexSitemap: false,
alternateRefs: [
{
href: ',
hreflang: 'en',
},
],
};
Result behavior
Expected behavior
The text was updated successfully, but these errors were encountered: