Search the Community
Showing results for tags 'multi-domain'.
-
On my site I am using the code from this post https://processwire.com/talk/topic/5082-default-language-per-domain-language-switcher-not-working/ All homepages look fine and return the corresponding translation. But all links are still pointing to the default host not the one I am currently visiting. Is there any way I can strip out the host or let PW know to use the host the user is on?
-
I noticed there is a file named index.config.php in /wire which is the "ProcessWire multi-domain configuration file" and I'm wondering if this is for multiple PW sites similar to WP Multisite or EE MSM or am I confusing it with Multi Environment setups. For example if I wanted to have a local, dev, staging, live/production multi environment setup would this be the file to use? Where all the domains, paths, db settings would most likely different from enviro to enviro? It looks like this is in fact for setting up multi-environments now that I read and understand what's taking place. The fact that it's called mulit domain is throwing me off a little, however and why I wanted to double check I guess. Is there anything to worry about with these types of setups in regards to paths or does PW handle all that for us and we just need to worry about setting up things per the instructions in the file? Any gotchas in other words?
- 7 replies
-
- multi-domain
- multisite
-
(and 3 more)
Tagged with: