FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[RESOLVEd] How to set the default page ?





Summer
How to set the default page to http://www.example.frihost.net/home/index.php when sumone enter example.frihost.net ONLY ?

Thanks.
Bondings
Try to place this in your .htaccess:
Quote:
DirectoryIndex home/index.html
Summer
Thx I will try now
budazz
thats right...
n0obie4life
That won't work for phpBB Very Happy.

Try this.


DirectoryIndex home
Summer
Thanks . Actually Im not linking to phpBB I m linking to Mambo . Thx .
progman89
all you have to do is save the code below as index.html in your www directory, editing "http://www.site.com/X.html" to the web adress of the page you want to display as your home page. the home page you want will display without any delay if the user's browser works correctly - if the browser does not work correctly, the user can click the link.
Code:

<HTML>
<HEAD>
<TITLE>Redirecting...</TITLE>
<META HTTP EQUIV="Refresh" CONTENT="0; URL=http://www.site.com/X.html">
</HEAD>
<BODY>
You are being redirected. If you are not redirected, click <a href="http://www.site.com/X.html">here</a>.
n0obie4life
It's resolved Wink. No need for anymore.

-close-
Related topics
751 Useful Windows XP Files
MAKE YOUR OWN WEB BROWSER
default files sequence
Making your own web browser
Problem index page
Tincan PHPList doesn't work
Upload files in "web-email site" style
Lan User Redirect Programs?
What is your browsers start page?
Displaying A Default Page Not Found.
my first php login w/o database
General .htaccess tutorial.
Is index.html different from public_html.html
Problem with Member system(or template) and $_GET[id]
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.