Welcome Guest, Not a member yet? Register   Sign In
Seo url and multilanguage
#3

first of all wordpress handles page translations through a plugin only (correct me if im wrong) languages are supported only for localization of interface and other static strings.

in CI you must decide the url structure to be like /{language}/page-url/page-url/...... - language and multi level nesting

what i would do is to process the URL params before the controller method is called (_remap or similar) then to pass all the page data into a single showPage($lang, array $slugs) method which will handle the nesting validation then retrieve the correct page
Reply


Messages In This Thread
Seo url and multilanguage - by togrul614 - 11-13-2019, 01:16 PM
RE: Seo url and multilanguage - by ciadmin - 11-13-2019, 05:08 PM
RE: Seo url and multilanguage - by loopzzz - 11-15-2019, 12:35 AM
RE: Seo url and multilanguage - by christaelrod - 12-26-2019, 10:01 PM
RE: Seo url and multilanguage - by InsiteFX - 12-29-2019, 08:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB