nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.71k stars 478 forks source link

Change BaseURL when using different domains #3026

Closed RobArkesteijn closed 2 months ago

RobArkesteijn commented 2 months ago

Describe the feature

I am not sure if this is already possible, but I can not seem to figure it out. For my site I am using differentDomains: true For SEO purposes, I would like the baseURL to change whenever I switch local (or domain) which it does not seem to be doing right now. I am using the SEO module and for that to work properly I need to set up the site config.

The site link will be automatically set to the baseURL of the i18n module.

I am also not sure if this is i18n module or seo module issue.

Additional information

Final checks

RobArkesteijn commented 2 months ago

Nevermind, I have found a solution for this with the seo module

WooHoo-Wu commented 1 month ago

How to solve it, please