eeleek Posted February 16, 2004 Share Posted February 16, 2004 Hi What would be the best way (not javascript) to have the browser goto http://www.mystore.com/default/ when he browses mystore.com ? Basically I would like browsers to go to the store directory immediately. Thanks ! ;) Ilan` Link to comment Share on other sites More sharing options...
Guest Posted February 16, 2004 Share Posted February 16, 2004 well - you can create a html file called index.htm or .html that has a redirect command to the new site. Dreamweaver is great at that - just add a behavior that will automaticly redirect the web-user. Besides that - you'll have to change the forward path for the domain it's self.. Link to comment Share on other sites More sharing options...
Guest Posted February 16, 2004 Share Posted February 16, 2004 you could simply create a PHP page that'll do that for you... create an index file.. (default.php or index.php) --(whichever is your default document) and put this code in it: <?php header("Location: http://www.example.com/myfolder"); /* Redirect browser */ /* Make sure that code below does not get executed when we redirect. */ exit; ?> -JG Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.