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
Hello,
When I use the strategy 'prefix' and I want to build my website it creates routes with prefixes (de, en) and without which shouldn't be the case because that is bad for SEO. can you please help me with it?
this is my config:
i18n: {
strategy: 'prefix',
defaultLocale: 'de',
seo: true,
vueI18nLoader: true,
vueI18n: {
fallbackLocale: 'de'
},
locales: [
{
code: 'en',
name: 'English',
iso: 'en-US'
},
{
code: 'de',
name: 'Deutsch',
iso: 'de'
}
],
pages: {
contact: {
de: '/kontakt',
en: '/contact'
},
agb: {
de: '/agb',
en: '/terms'
},
// checkout: {
// de: '/agb',
// en: '/terms'
// },
// checkout: {
// de: '/kasse',
// en: '/cart'
// },
dsgvo: {
de: '/dsgvo',
en: '/gdpr'
},
faq: {
de: '/faq',
en: '/faq'
},
impressum: {
de: '/impressum',
en: '/imprint'
},
withdrawal: {
de: '/wiederrufsbelehrung',
en: '/widtdrawal'
}
}
},
The text was updated successfully, but these errors were encountered:
Hello,
When I use the strategy 'prefix' and I want to build my website it creates routes with prefixes (de, en) and without which shouldn't be the case because that is bad for SEO. can you please help me with it?
this is my config:
i18n: {
strategy: 'prefix',
defaultLocale: 'de',
seo: true,
vueI18nLoader: true,
vueI18n: {
fallbackLocale: 'de'
},
locales: [
{
code: 'en',
name: 'English',
iso: 'en-US'
},
{
code: 'de',
name: 'Deutsch',
iso: 'de'
}
],
pages: {
contact: {
de: '/kontakt',
en: '/contact'
},
agb: {
de: '/agb',
en: '/terms'
},
// checkout: {
// de: '/agb',
// en: '/terms'
// },
// checkout: {
// de: '/kasse',
// en: '/cart'
// },
dsgvo: {
de: '/dsgvo',
en: '/gdpr'
},
faq: {
de: '/faq',
en: '/faq'
},
impressum: {
de: '/impressum',
en: '/imprint'
},
withdrawal: {
de: '/wiederrufsbelehrung',
en: '/widtdrawal'
}
}
},
The text was updated successfully, but these errors were encountered: