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.

The best way to setup my website folders when using MSM

May 02, 2011 1:48pm

Subscribe [3]
  • #16 / May 03, 2011 2:08pm

    glenndavisgroup

    436 posts

    I did change the folder preference in the cpanel for the files to be stored in /abc.com/abc/ for the abc.com website. Should I be doing that? I just want to have the files from each site stored in the corresponding folder in this case /abc.com/ that’s why I did that. But they have to be kept in the system > templates folder then I can leave them there. I apologize if I’m not making sense.

  • #17 / May 03, 2011 2:19pm

    Boyink!

    5011 posts

    I think that mapping makes better sense.

    If you save your templates as flat-files (and that’s an option, not a requirement) then you can choose where to store them on the server.  There is a path setting in EE telling it where to look for the templates.

    I haven’t done templates as files on an MSM site so can’t speak to your options there, but would assume they need to be off the root of wherever index.php is for that site.

  • #18 / May 03, 2011 2:30pm

    glenndavisgroup

    436 posts

    Currently I have the domain abc.com configure to point to /abc.com in the root. Should I be pointing it to /abc.com/abc/ where all the site.group and includes.group are or this doesn’t matter? Thanks for all your help.

  • #19 / May 03, 2011 2:31pm

    Boyink!

    5011 posts

    You want the domain mapped to where the index.php file for the site lives.

  • #20 / May 03, 2011 3:30pm

    glenndavisgroup

    436 posts

    Yup, I have it in the root of /abc.com.

    I’m still not able to get my pages. If I call http://abc.com/about-us it won’t work unless i have it as http://abc.com/index.php/about-us. I have added the following to my .htaccess file:

    RewriteEngine On
    RewriteCond $1 !\.(css|js|swf|gif|jpe?g|png|ico)$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php?$1 [L]

    Any idea what might be causing this from working? It was working before I updated the $assign_to_config[...] vars in the /abc.com/index.php.

    Thanks.

  • #21 / May 03, 2011 5:06pm

    glenndavisgroup

    436 posts

    I figured out the issue. I had to move the .htaccess file to the abc.com folder and now it all works :cheese:

  • #22 / May 04, 2011 8:43am

    John Henry Donovan

    12339 posts

    Excellent. Feel free to start anew thread if you have any more questions

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

ExpressionEngine News!

#eecms, #events, #releases