homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Changing Opening Page
Index and Hompage

 4:23 am on Mar 20, 2010 (gmt 0)


I have a sites opening index page on when url is entered which is also homepage
I want the page /video/index.php to open on default but home to remain as website index

Please help. ( want minimum amount of programming)


[edited by: dreamcatcher at 11:10 am (utc) on Mar 20, 2010]
[edit reason] Exemplified [/edit]



 2:51 am on Mar 22, 2010 (gmt 0)

Well, this is all comes to my mind.

Use .httaccess to change the default page to index2.php

in index2.php have this code

Have a link to "http://YourDomain.com/index.php" in "http://YourDomain.com/video/index.php" for those who really want to visit the home page.

There is a side effect of this. Using .httaccess will change default page for all folders and sub folders.
You can have


 4:16 am on Mar 22, 2010 (gmt 0)

Super it worked thanks

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved