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.

New Site Install Newbie Question

November 10, 2011 12:44pm

Subscribe [2]
  • #1 / Nov 10, 2011 12:44pm

    keydin

    26 posts

    I have been working on EE sites for awhile, but this is the first time I have setup a site, and person who knows how to do it is no longer here.

    We are running 2.1.3 using the MSM

    So, I have been walking through your docs and it says to copy over the index.php and admin.php files from the initial install. The problem is I can’t find the admin.php anywhere.

    What am I missing?

  • #2 / Nov 10, 2011 5:59pm

    Some of the earlier versions of V2 didn’t include admin.php. If it is not there you can just add it and make sure if reflects the same settings as your index.php.

  • #3 / Nov 11, 2011 2:02pm

    keydin

    26 posts

    That worked thanks. I had another question if you don’t mind.

    In previous installations of EE I have worked with we have had Structure running so it was really easy to manage and assign urls. On this particular site we won’t have that so I am setting it up the more traditional way, but I am having trouble getting the urls to work.

    The way I have it setup is with these template groups:

    Home - view as site index selected. This shows up fine at http://churchplantingsunday.com/cps
    Vision - This isn’t showing up. Shouldn’t this show up at http://churchplantingsunday.com/cps/vision/

    Sorry for the rudimentary questions, but I have never set this up before.

    Thanks,

  • #4 / Nov 11, 2011 2:47pm

    So vision is a template in the cps template group? It sounds to me like the pages module might be more what you are looking for depending on your template layout. Or I might not be understanding correctly.

  • #5 / Nov 11, 2011 2:52pm

    keydin

    26 posts

    Vision is a different template group. So I would create a template group for each sub-section.

    The whole site right now is in http://churchplantingsunday.com/cps

    Home: http://churchplantingsunday.com/cps/
    Vision: http://churchplantingsunday.com/cps/vision
    Resources: http://churchplantingsunday.com/cps/resources
    etc…

  • #6 / Nov 11, 2011 2:53pm

    http://churchplantingsunday.com/cps/index.php/vision seems to work so I would suspect your rewriting in the .htaccess file. Feel free to post it here if that doesn’t strike a resolution for you.

  • #7 / Nov 11, 2011 2:56pm

    keydin

    26 posts

    Hmmm.. I thought I had the re-write in there to remove the index.php file for this. I am using the NSM .htaccess Generator and I believe it has the re-write in there. Maybe not.

  • #8 / Nov 11, 2011 2:59pm

    You can post your htaccess template here from the addon or try disabling NSM and just putting together a simple static htaccess.

  • #9 / Nov 11, 2011 3:09pm

    keydin

    26 posts

    Here is what I have (see attached)

  • #10 / Nov 11, 2011 3:19pm

    I don’t see anything referencing the cps subfolder you are running in. The htaccess is not aware of your site root, only the root of the domain.

    RewriteRule ^(.*)$ /cps/index.php/$1 [L]

  • #11 / Nov 11, 2011 3:23pm

    keydin

    26 posts

    That’s what I get for copying and pasting. It is working now.

    Thank you.

  • #12 / Nov 11, 2011 3:44pm

    Glad I could help, good luck with the rest.

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

ExpressionEngine News!

#eecms, #events, #releases