Score:0

Setting a domain on URL language detection configuration creates an error

in flag

admin/config/regional/language/detection/url

I selected the "domain" option, and set my english to example.com and my french to french-example.com. When I saved the page, I got the error, "Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it."

Even though I got that error, it seemed as though the pages were redirecting to the french domain, but when I clear the caches, I get that same error.

What is the correct way to use domain forwarding for a language instead of /fr?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.