Questions tagged [multi-site]
The multi-site tag has no usage guidance.
31
questions with no upvoted or accepted answers
3
votes
0
answers
318
views
Copy Content from original site to new site (multi-site)
I have an English site with content, but now I need to create another site in French. So I'm setting up a multisite for my Craft install. I want to copy over all my English content over to my new site ...
2
votes
0
answers
131
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 ...
1
vote
0
answers
160
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 ...
1
vote
0
answers
63
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 [...
1
vote
0
answers
62
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, ...
1
vote
0
answers
216
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 ...
1
vote
0
answers
100
views
How to auto disable "Enabled for Site" for certain sites (or groups) when creating a new entry
We have a mutli-country/language website with Craft 3 for many countries/languages.
When we create an entry (ecommerce product to be exact) in the English sites we dont want to enable it for other ...
1
vote
0
answers
209
views
Craft 3 multisite: site specific config
I'm trying to do something like this in general.php config for a multi-site setup:
// ...
'production' => array(
'myVariable' => array(
'site1Handle' => '111',
'...
1
vote
0
answers
140
views
Multi site live preview not working on index page
I'm on Craft 3.1.17.2
My multisite setup is using different domains.
If I'm on a.com, I can Live Preview everything on b.com fine, except the homepage.
I get the error Access to XMLHttpRequest at '...
1
vote
0
answers
109
views
Craft 3 language switcher with same domain
Is it possible to create a multi language website in same domain?
In the admin settings, I created a second site with the same domain, but with a different site language.
templates/
├── index.twig ...
1
vote
0
answers
65
views
Correct Multisite MultiLanguage Approach
I am having a website with 4 languages and has two main sections B2B and B2C.
So the final URLs will look like this:
@web/b2b/de
@web/b2b/
@web/de (b2c uses no indication in the link - is default)
@...
1
vote
0
answers
32
views
Route manipulating - set regioncode before language-code
I just finished the structure of a new site, now I am faced with the problem: "regions". I thought I can use categories for routing.
Because I need:
example.com/REGION/LANGUAGE/about-us
or
...
1
vote
0
answers
124
views
How can I create a section or category in Craft 3 that shares its entries (i.e. not multi-site)?
Is it currently possible to create a section or category that shares the same entries across multiple sites? I can currently create a section, and once I save an entry, it is propagated to all sites. ...
1
vote
0
answers
600
views
Craft 3 Multisite: Template not found
I'm trying to set up a multisite with Craft 3, and the client wants a set up with URLs that look like foo.client.com, with foo.client.com/2018 and foo.client.com/2019. Right now, my index.php file ...
0
votes
0
answers
26
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 ...
0
votes
0
answers
8
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 ...
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 ...
0
votes
0
answers
32
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, ...
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 ...
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 ...
0
votes
0
answers
46
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 ...
0
votes
0
answers
283
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 ...
0
votes
0
answers
257
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 ...
0
votes
0
answers
82
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 ...
0
votes
0
answers
382
views
Multisite with unique domains not working with Forge config
I have a live install with a primary domain of https://marketing.vessul.co/ which works great.
When I've added another site to this install and it's location is another folder such as /extra-site it ...
0
votes
0
answers
85
views
At what point is siteId set for orders?
I have an adjuster I am trying to get to work, but the order has to come from a specific site in order for the adjuster to be applied. The siteId is 2, but when I try to get the siteId from the Order ...
0
votes
0
answers
19
views
Automatically replace strings in different language
We have sites for Germany and Switzerland that are pretty much identical but would like to cater to the spelling differences in Switzerland (namely replacing "ß" with "ss"). Is there any way to run ...
0
votes
0
answers
368
views
How can i get the current applied route in CraftCMS?
I'm using a dynamic route that loads a template. I'm on a multisite setup with a language switch in the header menu.
To be able to switch between sites or languages, the dynamic routes need to have ...
0
votes
0
answers
85
views
Craft 3 Multi-site with no “default” site AND where control panel login route remains intact and additional directories not necessary
Maybe one of you can help me out? I've tried setting up a multi-language site with no "default site" as per Craft 3 Multi-site with no "default" site. So far so good, except the control ...
0
votes
0
answers
48
views
Subsites not found when running Craft 3 on shared hosting
On most shared hosting, you can't set the webroot. As an alternative, a rewriterule to the web folder can do this.
Could be something like RewriteRule ^(.*)$ web/$1 [L].
This works on main sites in ...
0
votes
0
answers
50
views
Bad request on form submissions
Could my sudden bad requests on form submissions be linked to defaultCookieDomain
and multi site use with separate add on domain?
We added defaultCookieDomain as live preview wasn't working - didnt ...