Skip to main content
removed tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

d8+: How tocan I redirect from a non-locale url to a specific locale

When moving an existing multilanguage site (Jive CMS) to Drupal we need to redirect urlsURLs like /docs/DOC-1763/docs/DOC-1763 to the germanGerman version of a node. They are a lot, so we need a migration for it.

We're using the redirectRedirect module, but when setting the language to germanGerman it only works for /de/docs/DOC-1763/de/docs/DOC-1763, which is of course not what is needed.

How can we redirect old root urlsURLs like /docs/DOC-1763/docs/DOC-1763 to the new germanGerman version of this content? The urlURL would be /de/something/different (node/de/something/different for the node whose ID is 5), for example.

d8+: How to redirect from a non-locale url to a specific locale

When moving an existing multilanguage site (Jive CMS) to Drupal we need to redirect urls like /docs/DOC-1763 to the german version of a node. They are a lot, so we need a migration for it.

We're using the redirect module, but when setting the language to german it only works for /de/docs/DOC-1763, which is of course not what is needed.

How can we redirect old root urls like /docs/DOC-1763 to the new german version of this content? The url would be /de/something/different (node 5) for example.

How can I redirect from a non-locale url to a specific locale

When moving an existing multilanguage site (Jive CMS) to Drupal we need to redirect URLs like /docs/DOC-1763 to the German version of a node. They are a lot, so we need a migration for it.

We're using the Redirect module, but when setting the language to German it only works for /de/docs/DOC-1763, which is of course not what is needed.

How can we redirect old root URLs like /docs/DOC-1763 to the new German version of this content? The URL would be /de/something/different for the node whose ID is 5, for example.

Source Link
Andreas
  • 412
  • 3
  • 10

d8+: How to redirect from a non-locale url to a specific locale

When moving an existing multilanguage site (Jive CMS) to Drupal we need to redirect urls like /docs/DOC-1763 to the german version of a node. They are a lot, so we need a migration for it.

We're using the redirect module, but when setting the language to german it only works for /de/docs/DOC-1763, which is of course not what is needed.

How can we redirect old root urls like /docs/DOC-1763 to the new german version of this content? The url would be /de/something/different (node 5) for example.