Welcome Guest, Not a member yet? Register   Sign In
Localization duplicate page problem when locale set in routes
#6

(01-24-2020, 12:14 AM)littlej Wrote: Hello Stormbringer,

Maybe you could use @jameslittlej 's solution, and you could define some redirections manually when it refers to old pages ?
https://codeigniter4.github.io/userguide...ing-routes

This right decision if we change strategy, and transfer from old url standart to new with locale. Вut what if there are too many old pages?
With this we want to leave our old strategy:

1. RU (default lang) - site.com/URI
2. UK - site.com/uk/URI
3. EN - site.com/en/URI

It would be nice that all pages (old and new) in default lang remains without locale in URL. It is normal practice
Reply


Messages In This Thread
RE: Localization duplicate page problem when locale set in routes - by Stormbringer - 01-24-2020, 04:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB