Member
Member
ksvendsboe   2009-05-04, 20:06
#1

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!

Administrator
Administrator
acrylian   2009-05-05, 07:56
#2

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

Member
Member
ksvendsboe   2009-05-05, 19:51
#3

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.