ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM: move from sub-domains to sub-folders?

April 03, 2012 11:50am

Subscribe [2]
  • #1 / Apr 03, 2012 11:50am

    fjldude

    50 posts

    I’ve been setting up MSM with sub-domains in a local environment but may need to switch to sub-folders for production.  I currently have a folder structure something like this:
    /webroot
        /site1 (with EE install)
        /site2
        /site3

    Is a switch to sub-folders possible?  From EE’s perspective, does it require a different folder structure?  Like this?
    /webroot
        /site1 (with EE install)
              /site2
              /site3

    The MSM docs don’t say much, if anything about sub-folders.  Other forum posts and independent blog postings about MSM with EE v.1.x (http://www.designlitm.us/articles/building_a_sub-folder_site_in_expressionengine_msm/) suggest that sub-folders were possible and may still be so. The MSM docs are so lean that it’s hard for MSM beginners like me to get a good sense of how MSM works and how to set it up for sites with identical structures (ie using one set of templates, symlinks,  & file synchronization)

    Can you confirm that a move from sub-domains to sub-folders is possible?  And if so, if there are any big “gotchas” to watch out for? Thanks.

  • #2 / Apr 04, 2012 12:24pm

    Shane Eckert

    7174 posts

    Hi fjldude,

    Thank you for posting your question here on the ExpressionEngine forums.

    As long as those sub-folders can access the system directory, then you are all set.  That is a common way to host domains as well - place them in subfolders of the root.

    I hope this helps!

    Please let me know if there is anything else I can do for you.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases