I just installed MSM and was able to clone content and templates etc on the backend - so that part is fine. It is the front end that I cannot get to work.
Here is how I want it set up:
public_html
- Main site and all related directories etc
- es: sub directory for Spanish version
So the URL would be site.com - for the main site and site.com/es/ would be the Spanish site.
Here is my config:
I copied over the index and admin PHP files into the ES directory and updated the system path which is a level up from public_htm (../../system).
The system/expressionengine/config/config.php file has these edits:
// Espanol
$system_path = '../../system';
/*---------------------------*/
$assign_to_config['site_name'] = 'es';
$assign_to_config['cp_url'] = 'http://air-watch.local/es/admin.php';
$assign_to_config['site_url'] = 'http://air-watch.local/es/';I am able to access the backend via http://air-watch.local/es/admin.php
On the front end, when I go to http://air-watch.local/es/ I see the content but it is reading the main site templates (header.htm). I typed in {site_short_name} at the top so I can see it print out the name on the front end and in /es/ it displays default_site.
It is for some reason not pointing to the /es/ for the templates.
In the back end > Admin > General configuration the “URL to the root directory of your site” never gets update to http://air-watch.local/es/. I edit and save but it displays http://air-watch.local/
What am I missing?
Additional info:
I am using a master.config which requires config.env (for local, DEV and prod environments) and.