Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2012
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help with home page (index.html)

    Guys,

    i have all of my webpages named ( aboutus.html - garden.html ect...)
    is there a way of nameing index.html so that it will still act as the homepage without it being called index?

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,680
    Thanks
    6
    Thanked 1,009 Times in 982 Posts
    I assume that your server is Apache and supports custom server settings:
    You need to create an .htaccess file with a rule that specifies the file name for index pages:
    Code:
    DirectoryIndex filename.ext
    The file needs to be in the root directory of your site.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •