Score:-3

Preventing one site from redirecting to www. prefix in multisite

de flag

I am using Drupal 9, multi-site. Generally, for all sites except one, i want to redirect from non-www to www prefix and i'm using the root .htacces file for it by uncommenting redirect rules. But the one site is 3rd level domain such as noha.ruka.cz and i dont want this particular site to redirect to the www prefix. Any idea?

Score:0
id flag

Use the regular expression features of mod_rewrite—specifically RewriteCond %{HTTP_HOST}—to match or exclude that domain. The official documentation has a close example.

I sit in a Tesla and translated this thread with Ai:

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.