This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

info52262
info52262

Hi dear All, when I set a page to translate the page address I often get a 404 error.

For example:

I have page example.htm with name Example page with default language DE and URL /example I make the translation like: [viewBag] localeTitle[en] = "Example english" localeUrl[en] = "/example-en" Then my translated page gives me 404 error. Thank you for attention.

Last updated

mjauvin
mjauvin

Do you use the localePicker component or are you testing the URL manually?

When testing the URL, do you prefix the path with the locale (i. e. /en/example-en)?

info52262
info52262

I tryed to use different

marc.jauvin24240 said:

Do you use the localePicker component or are you testing the URL manually?

When testing the URL, do you prefix the path with the locale (i. e. /en/example-en)?

No

Now I use the same path for both and it works only if I delete the string:

localeUrl[en] = "/approvals" from

[viewBag]

localeTitle[en] = "Approvals"

localeUrl[en] = "/approvals"

Last updated

mjauvin
mjauvin

But you HAVE to prefix the locale to the path.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.