Questions tagged [multi-site]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
36 views

Sprig request Getting 414 Request-URI Too Long

I have sprig components on multiple pages, Some are working fine but some get '414 Request-URI Too Long ' Looking at the networks tab, it sends many elementId={ids}&CRAFT_CSRF_TOKEN={token} after ...
Prashant sharma's user avatar
1 vote
1 answer
27 views

Craft sites not stored in project.yaml

Today I installed a Craft project (Craft version 4.5.9) onto a new server (git pull, manualy copy of web/assets, composer install, db dump import, craft up). Everything runs fine except one thing: The ...
Moritz's user avatar
  • 69
0 votes
0 answers
8 views

Plugin that lets me "reset" second language to match primary language, per entry

I am running a multisite install with two languages: Norwegian and English. Sometimes I copy an existing entry to use as a template for the next entry. In those cases I would like to fill in the ...
nitech's user avatar
  • 679
0 votes
1 answer
19 views

Entry's post date in multisite

we are using multi-site setup to run 2 websites in different languages. We share articles between both sites and display some of them on the home page as "recent articles". Since the ...
Michal Bulla's user avatar
1 vote
1 answer
52 views

Default language is accessible without locale in URL

I have a website with 2 languages. Each language is setup as a different site. Each site has its own base URL which is defined as follows: @defaultUrl/en and @defaultUrl/fr. I have created a new ...
Matthias's user avatar
0 votes
0 answers
26 views

Multisite/Multidomain and headless mode

Our company has two websites. Both sites were build independently with Craft CMS. One site uses Twig templates, the other operates in headless mode. Is it possible to „mix“ them in one Craft system, ...
Matthias H's user avatar
0 votes
0 answers
13 views

How to prevent advanced relation field setting «Relate entries from a specific site?» getting ignored?

I have a relation field with the advanced setting «Relate entries from a specific site?». When the user initially clicks on the field it works fine, on a second attempt the setting «Relate entries ...
Marco's user avatar
  • 11
0 votes
0 answers
19 views

Multisite - display the translation status in the entries list

I have a main website with lot of articles and still growing. I would like to translate all articles into another language, so I created another site. Our process is not to save the entry to the other ...
Michal Bulla's user avatar
2 votes
1 answer
46 views

Multisite - Save the draft only to the site it was created in

I'm working on the multisite in Craft4 - 2 identical sites, but the text is in different language. I have a section with the Propagation Method set to Save entries to all sites enabled for this ...
Michal Bulla's user avatar
1 vote
1 answer
97 views

Multi-domain configuration

We have a multi-(sub)domain setup within a single Craft CMS and single .env file: insights.xximo.com and www.xximo.com. Sometimes when visiting insights.xximo.com we get errors like: Access to script ...
svondervoort's user avatar
1 vote
2 answers
69 views

How to programatically disable an entry for a specific site

We have a multi-site setup where we would like to disable a bunch of entries on the primary site only. They entries should still be enabled for the second site. I'm working on a migration that looks ...
Dalton Rooney's user avatar
1 vote
1 answer
72 views

Populate changes to a multi-select field across all entries without losing current values

Is there a way to make a change to the value of a multi-select field, leaving the labels intact, and update the field across all the entries while preserving the current selections? I have a multi-...
Eric Anderson's user avatar
0 votes
0 answers
93 views

Programmatically enable an entry for all sites if Enabled in one site

In a multi-sites setup, I have a Channel where Entries are not enabled by default. When a CP user review them, I would like that they are automatically enabled in all sites without having to enable ...
Romain P.'s user avatar
  • 1,798
1 vote
2 answers
192 views

Defining a domain for each site for both production and local - craft 4 multisite

I have a craft 4 multi site, each site has its own domain. In the cp settings for each site I have entered each domain. This works fine for the production environment but is obviously useless when ...
George Bleasdale's user avatar
1 vote
1 answer
153 views

Front end entry form not saving on Craft CMS 4 multisite

I have created a basic entry form that simply saves a title but I can't seem to get it working. I copied the code from Craft's documentation but that didn't work so I tried copying the code from ...
George Bleasdale's user avatar
0 votes
0 answers
40 views

Trouble with channel URLs and CSS files not pulling through - Craft CMS 4 Multisite

I'm building a multisite on Craft CMS 4 and I'm having trouble with channel URLs. At the moment I'm working locally and then pushing it to the hosting via github. I've created a folder for each site ...
George Bleasdale's user avatar
1 vote
1 answer
46 views

Save Entry form values as Draft to translated site versions on a single submit

I have an Entry field layout where only a few Plain Text fields are translatable. Users can edit these Entries from front-end, and I'm looking for the most efficient way to let them save the ...
Romain P.'s user avatar
  • 1,798
0 votes
1 answer
140 views

Multi-site entries have incorrect preview target

I have a problem with preview links in a Craft multi-site configuration. We’re on Craft 3.7.x and have two sites: default and staff. Each site is configured with its own base URL, the default site is ...
Dalton Rooney's user avatar
1 vote
1 answer
59 views

Hide/show tab dependant on Craft sites

I have multiple sites, in a Field Layout of section entry type, I have tab A and tab B. I want tab A to show in site A, but hide it(including all the fields under it) in site B. Is there a way to ...
Thomas's user avatar
  • 69
1 vote
1 answer
27 views

Craft 3, Multi site setup - Update title for entry 1 site only

My setup: Craft 3 installation with a multi-site setup. 3 languages, all enabled. I have a custom plugin with a custom element type, FooBar that extends the Element class and a custom FooBar field ...
Sean Delaney's user avatar
1 vote
1 answer
79 views

How to set up webhooks individually for each site in multi-site configuration with many customers?

The current issue is that I have multi-site setup, where are many different sites in a single Craft instance, e.g., I have 10 websites from 10 customers, when one customer updates his website I want ...
Vladimir Andrianov's user avatar
1 vote
1 answer
19 views

Sprout Reports settings template no longer functioning

I'm returning to a Sprout report on a project that was idle for a few years due to Covid. I was puzzled as to why both my settings and report templates were yielding nothing. The only change in the ...
4midori's user avatar
  • 626
0 votes
0 answers
238 views

@web alias in multisite setup with different domains

We're working a multisite project where the individual sites have different domains. We want to have a simple setup where both sites share an asset folder (web/cms-assets). So far, we're looking at ...
MoritzLost's user avatar
  • 10.7k
1 vote
1 answer
76 views

How to set environment variables based site

I've got a multiple sites setup in Craft, with Craft Commerce running on top. What I need to do is for one of the Payment Gateways, send a different API Key, based on the site that's being accessed. ...
neekster's user avatar
  • 403
1 vote
1 answer
35 views

Is there a way to trigger a user account creation from a different CMS?

I'm a junior web developer working with Craft CMS. I was wondering if there was a way to trigger a controller I have for my Craft CMS from an outside CMS. We have more than one website that offers ...
wannabecraftwiz's user avatar
2 votes
1 answer
57 views

Craft multi-site enable password protection

I have a multi-site Craft CMS set up with 6 sites. I am planning to live only 5 sites and I need to keep the 1 site in development phase. Also I want to enable fron-end password protection for the dev ...
JohnC's user avatar
  • 61
0 votes
1 answer
125 views

Get the localized handle and slug for "current" section for constructing breadcrumbs

I'm trying to contruct breadcrumbs for entries under a specific section. This feels like such a "how-hard-could-it-possibly-be" type of question, but I've been at this for a lot more time ...
InanisAtheos's user avatar
1 vote
2 answers
188 views

Globals disappeared/Queue Failed — Propagating global sets

In desperate need of some help! I noticed on one of my multi-sites, 5 out of 8 sites have items missing in the Globals sidebar.. When I manually type in the URL to view one of the global items I get: ...
fbnntt's user avatar
  • 109
1 vote
0 answers
141 views

How to keep logged in User on 1 Craft Multi Site, but with different domains

I have one multisite craft installation, where the different languages for the sites use different domains: en -> domain.com de -> otherdomain.com .. Users can log in via frontend. Now if users ...
Henrik's user avatar
  • 383
2 votes
1 answer
359 views

user session for Multi Site

I have a multi-site and they are under 1 root domain and the default site is food.com and bread.food.com is the additional site. How can I share the user session data of food.com to bread.food.com. My ...
Jeriel Jacinto's user avatar
1 vote
1 answer
82 views

Moving a site to a new group

Got a question regarding site groups and more specifically about the possible data loss. Scenario is as follows: I have a site A and site B in the same group. Client now wants both sites available in ...
erwinheiser's user avatar
1 vote
0 answers
55 views

How to change the primary site on a multi-site setup?

We have a multisite setup. We're wanting to use the same codebase, but deploy to two different servers with some of the sites on server 1 and the rest on server 2. For example: Server 1 Site 1 [...
drmonkeyninja's user avatar
1 vote
1 answer
312 views

On a Craft 3 multi-site, how can I setup an Entries field to select entries from other sites?

On my primary site on a Craft 3 multi-site, I have an Entries field used to add links to other sites' entries. These entries are from Channels / Stuctures that are using the Only save entries to the ...
Romain P.'s user avatar
  • 1,798
1 vote
1 answer
37 views

Wrong default site

I want to use the recaptcha plugin but I get a JS error because the script is looking at the wrong site. The plugin is using scoreRequest.open("POST", "/{{ craft.app.config.general....
Martin288's user avatar
1 vote
2 answers
56 views

Supertable bilingual (multi-site)

I want to save a supertable with different infos on two different siteId of an entry. It works fine with all the other fields i'm using: the value is saved separately to each different language. But ...
Martin288's user avatar
1 vote
1 answer
52 views

Block access to /admin on secondary sites

I'm not clear on how to block access to the control panel at: secondDomain.com/admin secondDomain.com/admin/login I can use .htaccess or Craft's config.php. I want folks to get an ugly 'access denied' ...
4midori's user avatar
  • 626
0 votes
0 answers
250 views

Locale URL /en not working - No such file or directory (/public)

Some values have been anonimized and are marked with %value% I followed the steps for setting up a local Craft CMS using composer and have the default site running on %domain%.test. Now I've made a ...
Sander Lameco's user avatar
1 vote
0 answers
58 views

Non-admin users cannot preview/view entries when site front end is disabled (multisite)

I am running a multisite setup on 3.6.11.2. We are attempting to generate a new site and while we work on the structure/content I have the 'Enable on the front end' setting switched off. As an admin, ...
TheCodeNomad's user avatar
1 vote
1 answer
80 views

How to add tags to an entry per site basis. And then only get the tags for that site in the frontend

I have craft pro and have one tagGroup called Tags Then I created a Tag field called newsTag like this: When I add a tag for german, the tag is also created in the database for dutch and english, so ...
Dimitri Hilverda's user avatar
1 vote
1 answer
168 views

GraphQL mutation or query, how to target specific site?

Is there a restriction on graphQL that only allows it to work on the primary site? My system has for unknown reason switched primary (and I can't change it back due to a bug), and ever since then my ...
jishi's user avatar
  • 263
0 votes
0 answers
80 views

Entry URLs are not returning URL with locale in the path

I set up 2 sites (locally) running Craft 3.6.7: English (Handle: english, Base URL: '/en/') German (Handle: german, Base URL: '/de/') I've made a blog section that is enabled for both languages with ...
Gideon's user avatar
  • 1
1 vote
0 answers
201 views

Eager load entries from another site in a Matrix block

I'm having trouble to get Eager Loading to work with an entries field that can select entries from another site in a multi-site setup. We're using a Matrix content-builder setup. Different kinds of ...
Sjoerd's user avatar
  • 51
2 votes
1 answer
162 views

How do you insert the site name into a default asset path?

Multisite question.... how do I output the site into the assets path? currentSite won't work because its the admin panel, so the current site is always the default site. Using the below, I will always ...
cherrykoda's user avatar
  • 840
1 vote
1 answer
90 views

Editing entries on multisite Craft CMS implementation

We have a Craft CMS implementation with 3 sites enabled (multi-site). When I create an entry, it populates the entry to all 3 sites, which is fine. However, I would like to modify a link or content ...
Dan C's user avatar
  • 11
1 vote
1 answer
61 views

Swapping currency when swapping languages

Folks: I have a multilingual and multicurrency site. All works fine when switching currencies or languages independent of one another. But is there a way to have the currency switch when the language ...
Wonko's user avatar
  • 471
2 votes
0 answers
128 views

Manipulating globals for multi-site?

I'm working on one Craft project with two sites (which have one shared page that is translated and possibly more in the future.) Is there a way to make the global header & footer for Site 2 ...
A Lemon's user avatar
  • 21
1 vote
1 answer
560 views

Multi Site Multi Domain

Probably this one is repeated, but I couldn't find an answer for it yet. I have a multi-site in Craft CMS 3.15, one that is in English and another one in Japanese. So the English page, which is the ...
Paloma Martinez's user avatar
1 vote
1 answer
427 views

Maintaining and deploying many multi-site from a single codebase

We're developing an application that uses a multi-site Craft back-end with a JS front-end, making use of GraphQL. The intention is to maintain a single codebase that can be used to deploy new and ...
Wallace's user avatar
  • 611
1 vote
1 answer
224 views

Do the number of Sites in a Multi-Site have a practical limit?

My use case is creating microsites for hundreds to thousands of customers, allowing them to edit/create their own site. Currently it is set up with channels with auto-created entries for users and no ...
Chip's user avatar
  • 13
1 vote
1 answer
209 views

Generate transforms only working on default install (multi-site)

I have a multi-site setup running within Craft 3. Everything seems to be working nicely, except for image transforms. For example: The following transform on the default site works correctly: https://...
GazCrane's user avatar