Multilingual site, always use language path prefix (no bare URLs)
Here the steps:


Install Redirect module.
Enable the module /admin/modules
Go to admin page /admin/config/search/redirect/settings.
Ensure Enforce clean and canonical URLs is checked.