iweb issue.. please help

Discussion in 'Web Design and Development' started by ewritenow, Nov 9, 2008.

  1. ewritenow macrumors newbie

    Joined:
    Nov 9, 2008
    #1
    Hi everyone.. i'm new to this forum... pleased to meet you! :)

    I'm hoping you can lend your expertise for a moment..

    So I created a simple website using iWeb. I do not use mobileme. Instead, I have my own hosting package from 3ix.org. Everything was turning out great until I had to transfer this via ftp. I downloaded Fetch to help me transfer all files.

    I published the folder on iweb to my harddrive. I then placed this folder in public_html. However, now when I go to my website.. (http://www.ewritenowservices.com), it shows the folder rather than the content! When you click on the "ewritenow" folder, the website does show up correctly.

    Could someone please give me a clue as to what I did wrong? Is public_html the incorrect place to upload to?

    Thanks!!
     
  2. Maximillian macrumors 6502

    Joined:
    Oct 12, 2008
    #2
    Just move the files from your 'ewritenow' folder to the 'public_html' folder. That should do the trick.

    Essentially, you uploaded the files inside a folder instead of just uploading the files.
     
  3. ewritenow thread starter macrumors newbie

    Joined:
    Nov 9, 2008
    #3
    I went back and did that but now it isn't formatted correctly... take a look :(
     
  4. Maximillian macrumors 6502

    Joined:
    Oct 12, 2008
    #4
    Looks like a bunch of your files are missing (images, scripts, css).

    Your files on your computer most likely look like this:
    Code:
    ewritenow/
      index.html
      Scripts/
        iWebImage.js
        iWebSite.js
        Widgets/
          Navbar/
            navbar.js
      Scripts/
        Widgets/
          SharedResources/
            WidgetCommon.js
      Welcome_files/
        Darkroom_spotlight.jpg
        mwmac_white.png
        PhotoGray_bg_c-1.jpg
        PhotoGray_browser_bg-2.jpg
        shapeimage_1.jpg
        shapeimage_2.jpg
        shapeimage_3.jpg
        shapeimage_4.jpg
        Welcome.css
        Welcome.js
    And your webserver seems to look like this:
    Code:
    public_html/
      index.html
    If this is not the case, then we can look at other possible causes.
     
  5. sickmacdoc macrumors 68020

    sickmacdoc

    Joined:
    Jun 14, 2008
    Location:
    New Hampshire
    #5
    I would say after looking at the current results, that I would agree with Maximillian's original post that the organization of files that were transferred is at fault so bear with me- I will try to detail via an example what you should see on your host when a iWeb site is transferred successfully. Maybe a look at it through different eyes might help. ;)

    First an overview- if you transfer an iWeb generated website to a host that has nothing else in the public_html directory, you should just wind up with two things in that directory when the ftp process is done. These two items are the only two items that would be inside the folder that you told iWeb to publish it to on your hard drive- not the whole folder that it was published to. Easier to explain with the example below though! ;)

    So for example let's say you had a folder on your hard drive called "Test Website" that you want iWeb to publish to. Within iWeb, you've named your site (in the first tab of the Inspector) "mywebsite". When you then tell iWeb to "publish to a folder" and you select "Test Website" as the destination, it will only write two things in the folder-

    1. A single file called index.html
    2. A folder named (in this example) mywebsite

    So now you fire up your favorite FTP program to upload the files- and you navigate to your public_html directory. You only want to upload the two items mentioned just above- and when the FTP transfer is done, your public_html directory on the site should look just like the contents of your "Test Website" folder on your hard drive. That is, it should only contain the single index.html file and the one "folder" called "mywebsite". Nothing more and nothing less, (assuming you have not used your public_html directory to store anything else).

    So, after these two items show as they should, you should be able to just go to your site via normal means by entering www.ewritenowservices.com in your browser. The browser will then automatically load the index.html file which will direct it to load the appropriate files from within the "mywebsite" folder and joy will prevail (I hope)! ;)

    BTW- the previous example does make the assumption that you are using iWeb 2.0.x which came with iLife 08. If you happen to be using iWeb 1.0.x which came as part of iLife 06 things might be slghtly different so please let us know if that is the case so we can let you know of any adjustments that might need to be made to the info above. I hardly remember the previous version, but do still have it installed on a secondary Mac, so could check that out if needed.
     
  6. ewritenow thread starter macrumors newbie

    Joined:
    Nov 9, 2008
    #6
    I still can't figure it out.... now my site doesn't even show the folder :( I'll pay someone to help me!! Any takers?
     
  7. theappleguy macrumors 6502

    Joined:
    Apr 19, 2005
    #7
    If you do the following you shouldn't have any problems:

    • Delete everything from your "public_html" folder on the server.
    • Open your site in iWeb and selected "Publish to Folder" in the "File" menu.
    • Once iWeb has exported the your site, drag and drop the contents of this folder to your "public_html" folder using your FTP client (ie. you should have two things in your "public_html" folder, the index.html file and a folder).
    • Load your domain to check that everything uploaded correctly.
     
  8. ewritenow thread starter macrumors newbie

    Joined:
    Nov 9, 2008
    #8
    Thanks for helping!! However, now it says The requested URL /ewritenow/Welcome.html was not found on this server.

    THis is one of the pages that is in my site folder that i uploaded?
     
  9. theappleguy macrumors 6502

    Joined:
    Apr 19, 2005
    #9
    First of all, look at the local folder on your Mac. Is there a file called "Welcome.html" in "ewritenow"? If there is, then check on the server to check that it is there as well. If not, upload it.

    This is what will be in your index.html file:

    HTML:
    <?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= ewritenow/Welcome.html" />
    </head>
    <body>
    </body>
    </html>
    "ewritenow/Welcome.html" should reflect the file that you want as your homepage.
     
  10. sickmacdoc macrumors 68020

    sickmacdoc

    Joined:
    Jun 14, 2008
    Location:
    New Hampshire
    #10
    To ewritenow-

    since you have your Private Mail disabled, would you please PM me with an email address (or simpler just enable your PMs in your user control panel options)? I have a alternative suggestion I would like to share (since neither theappleguy's excellent posts or mine have resolved this)- and no it does not involve money changing hands! :) We will get this solved as it is a pretty straight foward process, but either something weird is going on with your site host or there is some mis-communication somewhere!:confused:

    And I'll try again- which version of iWeb are you using? And while I am thinking of it, what version of Fetch are you using?
     
  11. ewritenow thread starter macrumors newbie

    Joined:
    Nov 9, 2008
    #11

    You all are so nice! I will try the latest suggestions this evening. My email is: Heatheradonovan@gmail.com

    Thanks
    Heather
     

Share This Page