Static GitHub Issues

[1970] Help - force www or "non www" version of a site

prev: How to debug nuxt/webpack/loaders?
next: axios-module is there a tutorial available

Does anyone have any tips or snippets which can force a specific domain? Either forcing the www or non www version? Is there anything like the redirect-ssl that could be used?

Or would you just recommend handling this at the DNS level?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1754">#c1754</a>)</em></sub></div>