+ Reply to Thread
Results 1 to 5 of 5

Thread: changing default page for website

  1. #1
    zonda is offline x10Hosting Member zonda is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    2

    changing default page for website

    in the file manager i was wondering how do i change the page that first comes up when i enter my domains name

    ex.. randomsite.pcriot.com

    and a page you dont want to show up is displayed

  2. #2
    Christopher's Avatar
    Christopher is offline Retired Christopher is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    USA
    Posts
    7,330

    Re: changing default page for website

    You would name that file index.html

  3. #3
    zonda is offline x10Hosting Member zonda is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    2

    Re: changing default page for website

    well i supposed that would work but i already have a index.php

    i just cant change my index.php cause all my pages are linking into it and i dont feel like changing the code on each of them

  4. #4
    Christopher's Avatar
    Christopher is offline Retired Christopher is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    USA
    Posts
    7,330

    Re: changing default page for website

    Create a .htaccess file. Make sure you have view hidden files turned on.
    Then put the following in it.
    DirectoryIndex filename.html

    Replace filename.html with the name of the file you want as your default page.
    Last edited by Christopher; 08-30-2007 at 10:51 PM.

  5. #5
    eoghan is offline x10Hosting Member eoghan is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    24

    Re: changing default page for website

    I have create a .htaccess page and put it in my public_html folder

    In .htaccess I put

    DirectoryIndex index.php
    Only.

    I still cant see my index.php page.

    I require this for SMF

    Edited to say that the problem has been fixed. I left it overnight and in the morning it was working fine.

    :lockd:
    Last edited by eoghan; 09-11-2007 at 10:34 AM.

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 11-12-2005, 11:47 AM
  2. need help with cashmod for phpbb
    By IamShipon1988 in forum Free Hosting
    Replies: 5
    Last Post: 10-05-2005, 03:46 PM
  3. [IPB]Setting IPDynamic Lite as default front page
    By nicholas in forum Tutorials
    Replies: 12
    Last Post: 04-15-2005, 08:37 PM
  4. Mod Help
    By Ericsson in forum Free Hosting
    Replies: 4
    Last Post: 03-04-2005, 03:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers