1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question about index.html

Discussion in 'Web Design' started by dkdanielkli, Jan 3, 2013.

  1. dkdanielkli

    dkdanielkli Regular Member

    Joined:
    Aug 30, 2011
    Messages:
    291
    Likes Received:
    110
    Location:
    Canada
    I'm trying to update my friend's website with some content but when i go to the website's url (say abc.com) it doesn't say exactly what page it is. When I start surfing in the website and then go back to the main page it says index.html . When i've edited the index.html file it didn't influence the page you go to when you first visit the website.
    Help please ?
     
  2. sathyavcs

    sathyavcs Regular Member

    Joined:
    Oct 7, 2012
    Messages:
    268
    Likes Received:
    565
    Location:
    India
    Sorry, question is not clear. But as I understand the change that you making in Index.htm is not happening in your home page of website.

    Please let me know if you are using either Windows or Linux hosting. In Windows to edit home page you may do it in Default.aspx
     
  3. futurestunner

    futurestunner BANNED BANNED

    Joined:
    Dec 26, 2009
    Messages:
    1,532
    Likes Received:
    1,036
    301 redirect yoursite.com/index.html to yoursite.com.
     
  4. themidiman

    themidiman Power Member

    Joined:
    Feb 25, 2011
    Messages:
    701
    Likes Received:
    1,536
    Location:
    root@pts/0
    Check for another index file. Might be using an index.php, but some navigation links still point to index.html.
     
  5. allenpaul123

    allenpaul123 Regular Member

    Joined:
    Mar 29, 2011
    Messages:
    209
    Likes Received:
    71
    Location:
    Internet
    If you are trying to limit your visitor to root domain instead of index.html then you can easily set 301 redirection of abc.xxx/index.html to abc.xxx/ in your hosting cpanel->Domains Redirects.
     
  6. Dragon2010

    Dragon2010 Junior Member

    Joined:
    Jul 4, 2010
    Messages:
    111
    Likes Received:
    30
    Occupation:
    Student
    Location:
    USA
    Are you having issues with redirection or the title of the page that the web browser shows?
     
  7. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,148
    I think he means he wants to edit the main page but its contents are not on 1 file and he doesn't know where they are.

    2 options:

    1. Follow the code
    2. Find a small phrase that 's relatively unique and log in the machine via a terminal, go to the directory that the script is in and search for that scring (in linux: grep -H "my phrase" ./* -R | cut -d: -f1)
     
  8. tompots

    tompots Elite Member Premium Member

    Joined:
    Dec 11, 2011
    Messages:
    4,352
    Likes Received:
    3,955
    Gender:
    Male
    Occupation:
    Full Time Bot Developer
    Location:
    Professional Botters
    Home Page:
  9. edgaro160

    edgaro160 Junior Member

    Joined:
    Dec 17, 2012
    Messages:
    130
    Likes Received:
    141
    try using Dreamweaver it updates everything from one place to the next as long as they have a relative path.