Questions tagged [multi-environment]

The tag has no usage guidance.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
73 views

How to reference domain specific asset path in multi domain multi env setup?

I have a site setup for Craft 3 like below .env variables for development local staging production Folder structure is standard. My assest volumes are like below. '@assetBaseUrl/documents/xx' '@...
1
vote
0answers
455 views

Creating a Dev Environment

I've built a site using Craft, and now, I'd like to be able to create a mirrored development environment. With that, I'd like to be able to make changes and edits to the website that can then be ...
1
vote
0answers
339 views

Image transform in a multi language site gives wrong getUrl()

I have a multi language site with /nl and /en in my url. mysite.dev/nl mysite.dev/en This is my configuration on general.php 'mysite.dev' => array( 'devMode' => true, '...
1
vote
0answers
233 views

How do asset and entry urls in rich text fields change with the environment?

If I have a rich text field containing a link to an asset and I create the link on my development server sample.craft.dev, the html in the rich text field contains this: <a href="http://sample....
0
votes
0answers
19 views

Best multi-environment approach using AWS S3

I need some direction on how best to run multi-environments with Craft assets and static asset builds (JS, CSS, etc) going to S3. I have three environments: dev, staging, and production. Each have ...
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 ...
0
votes
0answers
45 views

general.php not working on staging site

Craft 3.3.8 Locally everything is working as expected. However when I set up the staging site config values are not being respected. I have allowAdminChanges set to true for staging, however when ...
0
votes
0answers
82 views

https problem with multi environment config

I'm using Craft-Multi-Environment on a clients site and have it all working happily with standard http. However, we want the site to run on https to be more secure, but the server company can't seem ...
0
votes
0answers
226 views

Multi-environment config SERVER_NAME not working

I have a problem with multi-environment variables. I have used this before on a site and it worked perfectly, but now I'm on a different host and it seems that my SERVER_NAME isn't checked. Every ...
0
votes
0answers
369 views

Only layout template being rendered in local environment

I've just set up a multi-environment install of Craft but am having an issue on my local install under MAMP Pro. Everything seems to be loading fine except for my index template in the root of the '...