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.

Path to home page

August 11, 2010 1:24pm

Subscribe [3]
  • #1 / Aug 11, 2010 1:24pm

    studiosmadar

    26 posts

    Hi,
    My domain is calimero.co.il.
    My site home page is http://whatsoever/index.php/site/home.
    How do I make that if someone type http://whatsoever he will find my site home page and not blank page?
    Where is the definition for that?
    The group site has the red little stare. the index.php in that group is empty (that was my intention).
    I really need help.
    thanks in advance.

  • #2 / Aug 11, 2010 1:31pm

    Green Egg Media

    111 posts

    studiosmadar -

    By default, EE will use the index.php file in the default group as your site’s homepage. Is there a reason that you don’t want to put the contents of your site/home.php file in this site/index.php file? The easiest solution is to use site/index.php as your homepage.

    Lance
    Green Egg Media

  • #3 / Aug 11, 2010 1:41pm

    studiosmadar

    26 posts

    The problem is that the site is “on the air”. what is the easy way to solve it now?

  • #4 / Aug 11, 2010 1:48pm

    Green Egg Media

    111 posts

    I should note that when I visit http://calimero.co.il/ I do not get a blank page; rather, I see the homepage, though incorrectly formatted.

    You could set your index.php to redirect to the page you wish to use with a meta tag like this:

    <meta http-equiv="refresh" content="0;url=http://calimero.co.il/index.php/site/home">
  • #5 / Aug 11, 2010 1:50pm

    Green Egg Media

    111 posts

    Another, and perhaps better, option would be to use a 301 Redirect in a .htaccess file if you are familiar with setting that up.

  • #6 / Aug 11, 2010 1:55pm

    studiosmadar

    26 posts

    You see that because I try to copy my site/home to site/index.php.
    in a minute i’ll try your advice.

  • #7 / Aug 11, 2010 2:00pm

    studiosmadar

    26 posts

    You are an angel!!!
    is this is a dirty solution?

  • #8 / Aug 11, 2010 2:02pm

    studiosmadar

    26 posts

    thanksssssss! I’ll study the 301 page and check it again.

  • #9 / Aug 11, 2010 2:03pm

    Green Egg Media

    111 posts

    The meta redirect has some downsides, but if you use it sparingly, it’s OK. The .htaccess solution is much better. Essentially, a 301 Redirect means that a page is permanently somewhere else.

    If you do any future work in EE, the best way to go about this is just to use the index.php template in the default template group as the homepage. That way, you’ll never have to worry about tricky solutions, at least for this issue.

  • #10 / Aug 11, 2010 3:51pm

    Ingmar

    29245 posts

    Glad to see you found a solution. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases