album.php as index page

Hi,

I am wondering if there is any way to set the index.php to load an album.php page? For instance, this is currently the root web directory for my site:

http://www.ksvendsboe.com/clients/tasha/

but I want to find a way that it will go directly to:

http://www.ksvendsboe.com/clients/tasha/gallery/

but I can't just set the DNS to point at that directory due to the nature of the site. I am using a modified version of the default ZenPage theme and I have tried to modify the PHP in the main index page, but I haven't been able to find a solution that way. Any advice would be greatly appreciated. I am a total PHP novice, FYI.

Thanks!

Comments

  • acrylian Administrator, Developer
    Well, since you say you are a php novice the easiest would probably be a `header()` redirect on your theme's index.php. http://www.php.net/manual/en/function.header.php
  • well, that was a nice easy workaround! Thanks - hopefully someday I'll have the knowledge and time to do it properly, but for now that's perfect. Really appreciate the suggestion.
Sign In or Register to comment.