FTP Server Question

admin

Administrator
Staff member
How do you change your main page to another page?<br /><br />For example; If I didn't want to use a page that says index as the main page any more. I googled and failed. <img src="http://www.webdesignerforum.co.uk/style_emoticons/default/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> <br />I use a program called "FTP Surfer".<br /><br /><br />Anyone else know how to change it?<br /><br />Thankies <3<!--content-->
If your server is Apache, then you upload a file called ".htaccess" (no file name, just a dot to start)<br /><br />Inside it you put:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->DirectoryIndex first-file-to-see.html next-file.cgi somethinelse.php index.htm<!--c2--></div><!--ec2--><br /><br />What this tells the server is when someone looks at your domain (or a folder, if you've placed it in there) to load first-file-to-see.html but it's not there, try next-file.cgi... and so style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Thanks. I'll give it a try. =D<!--content-->
<!--quoteo(post=20343:date=Dec 29 2007, 05:53:name=Snow)--><div class='quotetop'>QUOTE(Snow @ Dec 29 2007, 05:53) <img src='http://www.webdesignerforum.co.uk/style_images/1/post_snapback.gif' alt='*' border='0' /></div><div class='quotemain'><!--quotec-->How do you change your main page to another page?<br /><br />For example; If I didn't want to use a page that says index as the main page any more. I googled and failed. <img src="http://www.webdesignerforum.co.uk/style_emoticons/default/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> <br />I use a program called "FTP Surfer".<br />Anyone else know how to change it?<br /><br />Thankies <3<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Or you can use a redirect no? a javascript meta redirect?<!--content-->
<!--quoteo(post=20528:date=Dec 31 2007, 23:17:name=My name is Dave too)--><div class='quotetop'>QUOTE(My name is Dave too @ Dec 31 2007, 23:17) <img src='http://www.webdesignerforum.co.uk/style_images/1/post_snapback.gif' alt='*' border='0' /></div><div class='quotemain'><!--quotec-->Or you can use a redirect no? a javascript meta redirect?<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />You could do, but you'd still need a page called index to redirect, using the .htaccess you don't.<!--content-->
 
Top