Skip to main content

Questions tagged [multi-site]

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

craft multisite not working(only default site works) on server but completely works locally

i am encountering an issue with my multilingual craft website. Locally, everything works just fine, but when i upload it to the server, i get an error page not found for every site that is not my ...
Arthur Depuydt's user avatar
1 vote
1 answer
56 views

Site baseUrl with locale and entry URI matching

Consider the following. I have two sites: site: the main site site_de: the German version of the site Those two sites have the following Base URLs: https://my.site.test https://my.site.test/de I ...
Low's user avatar
  • 557
0 votes
0 answers
17 views

Craft4 Multisite to use a selected site to copy instead of main site

My website is on craft v4.10.8 My craft site has multiple languages using multisite feature. When I normally create a new multisite the queue worker creates a job that copies the main site (English ...
Lee Yong Hoon's user avatar
1 vote
0 answers
53 views

Craft 5 MultiSite Setup different Live Preview Links

I'm currently developing a MultiSite website where each site has its own domain. TBH, it's my first CraftCMS project. Bear with me if the answer is very obvious. .env SITE_ONE_URL=https://site-one.com/...
Pippado's user avatar
  • 11
0 votes
0 answers
46 views

Best Approach for Merging Two Craft CMS Sites with Database Changes to Avoid Data Loss?

I'm currently in the process of merging two Craft CMS websites into one. To achieve this, I've made several changes directly to the database locally, rather than managing these changes through Git and ...
Zico123's user avatar
0 votes
0 answers
18 views

add debug to frontend of non-primary site

I have a craft site running 2 sites. When I set my user preferences to show the debug toolbar on the front, it works for the primary but my secondary site doesn't have it. How can I add to test my ...
rudtek's user avatar
  • 169
1 vote
1 answer
63 views

How to use the primary locale handle as a fallback in the url?

I'm working on a Craft 4 project with five languages set up as separate sites. The primary site is configured to use 'en-GB' as the language and 'en' as the handle. Currently, when I access the home ...
Mark Notton's user avatar
  • 2,347
1 vote
1 answer
70 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
65 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
1 answer
27 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
149 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
  • 313
2 votes
1 answer
56 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
296 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
158 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
146 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
1 vote
2 answers
364 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
345 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
51 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
64 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,917
1 vote
1 answer
239 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
77 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
36 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
103 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
23 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
  • 668
0 votes
0 answers
392 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
  • 11.9k
1 vote
1 answer
129 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
52 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
89 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
177 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
285 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
187 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
  • 425
2 votes
1 answer
521 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
84 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
69 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
454 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,917
1 vote
1 answer
38 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
58 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
59 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
  • 668
0 votes
0 answers
264 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
87 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
82 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
213 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
  • 293
0 votes
0 answers
86 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
234 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
188 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
  • 1,114
1 vote
1 answer
148 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
74 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
150 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
699 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
514 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