Results 1 to 2 of 2

Thread: Website not showing up correctly

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    1

    Website not showing up correctly

    When i view my website this page called "Index of" comes up, but not my website. When I click on a folder called site then the website shows up, but how do I make it so the www pulls up my site right away? Thanks!

  2. #2
    Senior Member Kyle-K's Avatar
    Join Date
    Jun 2011
    Location
    Western Australia
    Posts
    100
    Is your website made using iWeb?

    If not you need to put all the websites files in to the "www" directory and make sure the page you are using as the landing page is called index.xxx Where .xxx it should be either .html OR .php

    This may require you to make some changes to the code if you're renaming a page like home.html to index.html

    The second option is to redirect the user to the relevant page with an index.html file. Here below is the code I like to use to do this.

    HTML Code:
    <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="refresh" content="0;url= http://example.com/site/home.html" />
    KyleKreusch.org: Website | Facebook | Twitter | My Businesses, iT Solutions and Consulting | Web Services
    User Next
    , Apple and Macintosh User Group | Website | Facebook | Twitter

Posting Permissions

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