I am using Yii2 and the extension localurls
I have followed the instructions but it seems the language is appended to the end of the URLs instead of before the script name:
Also, I have tried to disable the option "showScriptName" and the URL:
is not found -> 404 not found. Why so?
Thank you
You should enable pretty urls.
...
'urlManager' => [
...
'enablePrettyUrl' => true,
...
]
...
You should also have correct rewrite part in your web server config.