Questions tagged [multi-site]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 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 ...
1
vote
1answer
23 views

Possible bug when using Entries fieldtype with multi-site

Thought I'd run this by some people who know what they're doing before I report this as a bug. I have a multi-site configuration. One of the sites has a base URL of example.com and only contains one ...
2
votes
1answer
27 views

Is it possible to localize Freeform fields and labels?

Is it possible to localize labels and other params of Freeform form fields on the multilingual site? Thanks
1
vote
1answer
29 views

Implement hreflang with multi sites

I currently have multi site config. One site have 2 locales. My configuration like so: 'example.com' => array( 'siteUrl' => array( 'us_en' => 'https://www.example.com/', '...
1
vote
1answer
30 views

Craft multisite site without www redirects unwanted to default site

I'm working on a multisite Craft CMS 3 website. When I'll go to www.site-a.com (default) and www.site-b.com this works fine. The correct sites and templates are displayed. But if I'll go to site-b.com ...
0
votes
0answers
15 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 ...
1
vote
1answer
17 views

Identifying users and site permissions when logged in

If I'm logged in as a user in user Group A, how can I tell which site I am currently viewing? I want to be able to create a multilingual site switcher. But my setup is complex. I have Company A, ...
0
votes
1answer
43 views

Adding a new site returns 503 Service Unavailable

I successfully installed Craft locally and my primary site is up and running, but when I add a new site with it's own base URL I cannot access it due to a HTTP 503 error. I've tried various ...
0
votes
1answer
37 views

Is there a way to avoid content duplication on multi site setup?

I have just crated a multi site according to the instructions on Crafts page. Lets just say I have: siteone.com with template forlder templates/siteone sitetwo.com with template forlder templates/...
0
votes
0answers
37 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 ...
1
vote
1answer
96 views

How do I dynamically define Asset Volumes' Base URLs for different Sites?

There must be a simple answer for this but despite fumbling around with it for quite a while and searching the web for answers I am stymied. Perhaps I'm approaching it in the wrong way. I'm feeling ...
1
vote
2answers
50 views

Displaying one site's content in another site (Craft 3 Multi-site)

I've got a bunch of entries in Site 1. I need to display them in Site 2. If I specify the site, I get the entries. {% set entries = craft.entries.section('cenicNews').site('cenicOrg').limit(10) %} ...
2
votes
1answer
49 views

How to route 404 errors for multi-site Craft?

Craft looks for /templates/404 by default. What do you do if you have multiple sites?
2
votes
1answer
23 views

Multisite, second language Live Preview not working

I have an English site - https://dev.mysite.com and a Japanese site - https://dev.mysite.com/jp. Live preview works great for the English site, but the Japanese site has the following error: Mixed ...
0
votes
0answers
24 views

Nginx config - cachebusting rewrite for multiple server blocks/domains?

So I have a Craft CMS multi-site setup on a Forge-managed VPS... (and oh boy I wish there was more documentation on setting this up, huge thanks to Philip for helping me get to this point) The ...
0
votes
0answers
11 views

How to create other sites entries with same data, when “Save blocks to other sites in the same group” is used

We have fields, including a matrix field, that is set to "Save blocks to other sites in the same group". This means when we edit our English group, only sites in that group are edited, so they all ...
1
vote
0answers
11 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 ...
0
votes
0answers
27 views

New locale showing content from default/main site (Craft 2)

I have a Craft 2 site I've inherited that is using locales for multiple sites (each with their own domains). When I set things up initially, I got all the locales working without issue. I've been ...
1
vote
1answer
42 views

How to handle a big amount of whitelabel sites (with multi-site)

For one of our clients we need to setup a whitelabel template. I was considering doing this with Craft's Multi site feature which works fine in that way Content management wise. But, it's probably ...
1
vote
0answers
38 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
1answer
21 views

On multisite setup, currentUser not true in LivePreview

On multisite setup, I have problem to get LivePreview working (Craft 3.3.4). I have one domain live, other not, so it displays Maintenance Page. But I need the editors to edit the entries on that ...
2
votes
1answer
122 views

Best practice for multi site development, staging, etc. [Special snowflake details inside]

The story: Site A is running in Craft 3 as the primary site. (On a subdomain, if that matters.) Sites B and C are running in ExpressionEngine 2. I need to write new HTML/CSS for sites B & C. I ...
1
vote
1answer
45 views

2 multi sites with separate root pages

I have 2 sites within 1 Craft 3 installation, they are both the same language and generally have nothing to to with each other. I would like both to have individual startpages at the URL "/". Is ...
0
votes
0answers
21 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
0answers
22 views

How to use category page after setup multi-site

What is the category posting page, see the image. I created multi-site ex) affinity designer and affinity photo, but when I post any items on the category page. When I select affinity design or ...
0
votes
0answers
27 views

How can i filter on site and locale in the element API

I have multiple sites and locales enabled. How can filter on entries only from a given site and locale? Here's what I have. As you can see I already have a the $site and $locale variables, but I don'...
0
votes
0answers
85 views

Queue “Failed”, with Attempting to save an element in an unsupported site

I have many sites for different countries and languages. They are grouped by language. I have a matrix field setup to "Save sites to other sites in the same site group". We imported all the sites ...
0
votes
0answers
66 views

Setting “enabled for site” from a plugin

I have entries that propagate across multiple sites. Default value is enabled in general but disabled for all sites. I want it to be enabled for the site to which it was originally added (while ...
0
votes
0answers
14 views

How to set product types to only be available in the site they were created in?

We have many sites and several sites are order by groups. For Entries, we have setup Sections to "Save entries to all sites enabled for this section", so every Site has the same entries, and we can ...
1
vote
0answers
58 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 ...
1
vote
1answer
34 views

How can I clone a specific Site in Craft, not the default?

I have many sites in Craft and I group them by language. For example, German has Germany and Austria sites in them. Spanish has Spain, Mexico and Colombia. The sections are set to propagate entries ...
1
vote
1answer
47 views

4 Different HTML from single Craft 3 CMS on 4 different domains?

Can we serve 4 different HTML from single Craft 3 CMS on 4 different domains? working on a client project which has their 4 different domains for their different brands of the same business. Is it ...
0
votes
0answers
18 views

How can I upload assets assigned to a specific site?

I have 2 sites, site A and site B. When I upload an asset to site A, the asset is also visible in site B. How can I upload an image to only site A or site B? I am looking for a similar behavior like ...
0
votes
0answers
27 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 ...
1
vote
1answer
46 views

FeedMe - all sites get overwritten by other foreign sites import, even though fields are translatable per group

I have about 16 sites added to my Craft CMS install. They are grouped together by language, so for example, I have 6 sites in English, and 4 sites in Spanish, 2 in German, and then some individual ...
0
votes
0answers
78 views

How to sync/propagate entry titles in a site group?

I have created several site groups, e.g. English, Spanish and German. Within these are several sites and the fields are to translate per group. So within Spanish for example, all the content is the ...
1
vote
1answer
56 views

How to restrict uploads to currently edited site

I've tried /{{currentSite.handle}}/ but this uses current site handle, not the site I'm currently editing. Is there a way to dynamically set folder to currently edited site?
1
vote
1answer
45 views

How to order Sites

We have 38 sites running, divided over 6 groups. But for some weird reason on showing the sites list, 10 sites are showing up random. How can we fix this, or how can we order the sites on 'name' or '...
0
votes
0answers
54 views

Craft 3 multi site random 404 error on other sites (localisation) except default

I'm having trouble with my multi site setup. The issue can be seen here As you can see, the page sometimes gives a 404 and sometimes shows the page. Most of the times it's the 404, but sometimes the ...
1
vote
1answer
97 views

FeedMe - Import to multi language sites, linking entries

How does one use FeedMe to import content to a multi language setup? I can have one feed with all languages, or a feed for each language, but I cannot see how to set the locale of the import content, ...
2
votes
2answers
70 views

Mutiple sites and locales

I'm trying to setup alternate locales for content across several sites. I have the following scenario: - Group siteA - siteA.com/product-1 - Group siteB - siteB.com/product-2 - siteB.com/fr/...
0
votes
0answers
22 views

Saving globals slow with lots of sites

I'm working on a craft site that has 188 locations. Each location has its own site. Normally I would create a channel entry for Locations, but each location (site) needs its own blog and pages. I ...
1
vote
1answer
34 views

Add field to /settings/sites/new (multi-site)

I would like to add some fields to the site creation on the control panel settings. I know you can add globals for each site, but I think it would be a better process if I could add additional fields. ...
2
votes
1answer
137 views

Multi-site - Setup remote asset volume to store assets on a per site/folder basis

We've got a Craft 3 (3.1.25) multi-site setup with three sites: Corporate (default) Brand A (brandA) Brand B (brandB) For this install there's 3 users setup with the following access to the sites. ...
0
votes
0answers
20 views

Access all entries when selecting an entry on multisite setup

I have a Craft 3 multi site setup. For example: - Site A - Site B - Site C Only Site B has a blog (channel). So the channel 'Blog' is disabled for Site A and site C. Now, I want to link to a specific ...
1
vote
1answer
33 views

When I try to edit an entry: “Unable to find 'craft\services\EntryRevisions'”

I have just moved my site onto the live server and imported my local db. It is a multi-site setup. In the Entries section of the CP, when I click on an entry to edit it I get the following error page:...
3
votes
2answers
297 views

How do you save a new Entry to be enabled on 2+ Sites?

I've made a plugin that let's you import Entries from a CSV file and I'm working through adding localization (Sites) support to it, but I can't figure out the right way to enable an Entry for a second ...
1
vote
1answer
208 views

Error pages in multi site setup

I have a multi site setup for supporting multiple languages in Craft 3. '/' => German '/en/' => English In my general.php I have 'errorTemplatePrefix' => 'error/', When I enter '/...
1
vote
1answer
75 views

Template for Site Group rather than site handle

We are building a multi-site set up in Craft. We will have a lot of "microsites" for different locations. I have a site group called "Microsites" and I would like the home page for each of these ...
3
votes
1answer
33 views

How to save entry to the current site from the front end?

I have a multi site setup and a front facing entry form, which saves entries always to the same site (and not the current one which is weird). Is there a way to define to which site the current ...