Your best friend for file transfer.

Fetch application logoFetch

index.html page problem (19 posts)

  • Started 14 years ago by Toni
  • Latest reply 14 years ago from Scott McGuire
  • Toni Member

    I've moved my iweb page from an old mac using iweb 06 to a newer machine using iweb 08. I've copied the domain file, moved it into the equivalent folder on the new machine, and successfully opened my page. I made a few changes to the page and uploaded it to Fetch (newest version.) I get the 404 message when I try to open the site in my web browser.

    I've been working on this all day and the only thing I see that's weird is that, once it's dragged & dropped into Fetch, the index.html file comes up blank when I try to use the Quick View feature, and then if I try to see a web view it comes up with the 404 message.

    The index.html page INSIDE the website folder on Fetch seems to function like all the other folders (I can Quick View it; see it as a website) but the index.html file OUTSIDE of the folder is a dead link.

    Also, on my older mac I would occasionally dump the entire site off Fetch and reload it, and I noticed the index.html page would automatically show up outside of the website folder as well as inside of it. Now I upload the entire website and there is no index.html page outside the folder, I have to go back to my hard drive and move it over manually, but then it's a dead link. Is this causing the problem?

    What setting do I need to adjust to have the index.html page upload automatically?

    Thanks,
    Toni
    www.sonomacommunitycenter.org

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Toni,

    Sorry for the delay in getting back to you.

    Most of iWeb's index.html files are not actual webpages; they are just little HTML files that tell the webbrowser to go open another HTML files elsewhere in the folder that make up your webpages. So Quick Look will not show anything when you view index.html files created by iWeb, because really there is nothing in the index.html file.

    The most important thing to remember with iWeb is that you need to upload everything exactly as iWeb creates it; and that sometimes you do need to remove the existing website and upload an entire new copy. Again, this has to do with how iWeb links files together. When uploading websites created in iWeb, we recommend that you use the step-by-step instructions in the using Fetch to upload websites created with iWeb help topic.

    I took a look at your website and it looks like you've got it; if you're still having problems, let us know.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Toni Member

    Hello,

    Thanks for your reply. I am still unable to load the website from the new computer. The website that comes up has been loaded via the old computer. I have tried everything I can think of including:
    uninstalling and reinstalling Fetch
    deleting the entire website off Fetch and uploading it again
    deleting the entire website off my hard drive and publishing it again
    ...and every combination of these actions.
    I always end up with the 404 message, then I return to my old computer and reload the website and it works fine.

    Any other suggestions?

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Toni,

    What happens if you do the following?

    * On your new Macintosh, open the folder on that you published your website to.
    * Double-click the index.html file you'll find in there. Your web browser should open.

    Does your website work when you do that?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Toni Member

    Thanks for your reply.
    I figured it out. I had to delete the old website folder from the Fetch transfer window, as opposed to just deleting the contents of said folder. The upload was successful after I deleted the old folder and then transferred the new folder as well as the index.html page.

    Thanks for all your help.

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Toni,

    You're welcome, and I'm glad you got it working.

    Please let us know if you have further questions.

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Mike Member

    Something similar to this is happening to me, but not...

    the address is: www.smukallmotorsports.com

    When I ftp it, it automatically redirects to www.smukallmotorsports.com/Welcome.html

    where it NEEDS to go is www.smukallmotorsports.com/Smukall/Welcome.html

    It is completely skipping over my "Smukall" folder... the site works when I type in the whole address manually, but not when I just type "www.smukallmotorsports.com"

    I DON'T KNOW WHAT TO DO!!!!!

    I've read the directions on this site- I've deleted the site folder and recreated new ones- I've uploaded the index.html inside and outside the folder- I've changed the index.html to index.htm- I've searched through forums liks it's my job- I've changed my "Welcome" page to 'index'- I. CAN'T. FIGURE. IT. OUT.

    I've used iweb and fetch before so I don't know what I'm doing wrong this time : (

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Hannah,

    In iWeb-created websites, the main "index.html" file really just points to a different file, buried in the folders that make up your website. For some reason, the index.html file you've uploaded is pointing to the wrong location.

    Either iWeb is creating an index.html file that doesn't work right, or the wrong index.html file has been uploaded to the wrong location, causing the web browser to look for a file that isn't there. My guess is it's the latter problem; it can be confusing, because iWeb-created websites have multiple index.html file, one inside each folder.

    I'm afraid, since I can't see what's on your computer, I can't offer more specific advice; the best I can do is go over some points and hope they help.

    For example, let's assume your website is called "Company Name", and when you use "Publish to a Folder," you tell iWeb to put its files in a folder called "My New Website."

    Once iWeb is done, in the Finder you will see:

    My New Website (folder)
      index.html
      Company Name (folder)

    If you looked inside the "Company Name" folder, you would also see an index.html file there. But that is not what you want to do. You want to upload the first index.html file, together with the Company Name folder.

    I realize you feel like you've done this already, but probably the best thing to do try again and make sure you are uploading exactly what iWeb creates. When iWeb-created websites get confused, before starting over, it is often best to delete both the published copy of your website on your hard drive, and the entire website from the server. And then publish from iWeb to a new folder on your hard drive, just to make sure your new export from iWeb hasn't gotten confused with an older copy.

    I hope this helps. If you are still having trouble after trying this, let us know and we can try to offer some more advice.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Mike Member

    Nothing. I've deleted EVERYTHING and started all over. I do not know why it keeps going to /Welcome and overriding /Smukall/Welcome.html.... HELP!!

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Hannah,

    Please do the following:

    * Quit Fetch, if it's running.
    * Open Fetch again.
    * Connect to your server.
    * Go to the View menu, and choose Refresh.
    * Then go to the Window menu, and choose Fetch Transcript.
    * Copy the entire contents of the transcript window, and paste them into a reply to this message.

    We'll take a look and see if we can offer any advice.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Mike Member

    Fetch 5.5.2 (5E703) Intel running on Mac OS X 10.4.11 (8S2167) Intel English
    StuffIt Engine 0x820, StuffIt SDK Version 10.1.1b1
    Partial serial FETCH55001-RAQ9-92QA T
    Connecting to www.smukallmotorsports.com port 21 (Mac OS X firewall state unknown) (10/20/09 5:58 PM)
    Connected to 64.136.20.55 port 21 (10/20/09 5:58 PM)
    220-FTP server ready.
    FTP server ready.
    220 This is a private system - No anonymous login
    USER www.smukallmotorsports.com
    331 User www.smukallmotorsports.com OK. Password required
    PASS
    230 OK. Current directory is /
    SYST
    215 UNIX Type: L8
    PWD
    257 "/" is your current location
    MACB ENABLE
    500 Unknown command
    PWD
    257 "/" is your current location
    TYPE A
    200 TYPE is now ASCII
    PASV
    227 Entering Passive Mode (64,136,20,55,4,84)
    Making data connection to 64.136.20.55 port 1108
    LIST -al
    150 Accepted data connection
    drwxr-xr-x 4 1000 1000 4096 Oct 20 00:19 .
    drwxr-xr-x 4 1000 1000 4096 Oct 20 00:19 ..
    drwxr-xr-x 10 1000 1000 4096 Oct 20 00:22 Smukall
    -rw-r--r-- 1 1000 1000 313 Oct 20 00:19 index.html
    drwxr-xr-x 2 1000 1000 4096 Jun 11 2008 thetigerspot.com
    226-Options: -a -l◇
    Options: -a -l◇
    226 5 matches total
    CWD /
    250 OK. Current directory is /
    PWD
    257 "/" is your current location
    PASV
    227 Entering Passive Mode (64,136,20,55,4,85)
    Making data connection to 64.136.20.55 port 1109
    LIST -al
    150 Accepted data connection
    drwxr-xr-x 4 1000 1000 4096 Oct 20 00:19 .
    drwxr-xr-x 4 1000 1000 4096 Oct 20 00:19 ..
    drwxr-xr-x 10 1000 1000 4096 Oct 20 00:22 Smukall
    -rw-r--r-- 1 1000 1000 313 Oct 20 00:19 index.html
    drwxr-xr-x 2 1000 1000 4096 Jun 11 2008 thetigerspot.com
    226-Options: -a -l◇
    Options: -a -l◇
    226 5 matches total

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Hannah,

    Thanks for the transcript.

    The index.html file currently on your website seems to be trying to be looking in for "SND" folder. Is there an SND folder in the folder of website files on your Mac?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Mike Member

    YES!! And I KNOW it is.... argh..... in iweb, I have a site in an 'SND' folder and a site in a 'Smukall' folder. When I publish to a folder, there is no way to publish only one (quite frustrating), so BOTH are published to my folder on my desktop ("site") and the index.html is outside BOTH folders in the "site" folder. Okay.... now what?? You're getting me excited like we're on to something!!

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Hannah,

    Are the pages in the SND folder unrelated to the Smukall Motors website? That is, they're part of some other website?

    Which version of iWeb are you using? (Go to the iWeb menu, and choose About iWeb.)

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Mike Member

    They are completely unrelated. I'm using '08 iweb... but I've used this program last year, had the same two websites, and did not have this problem.

    Posted 14 years ago #

  • Mike Member

    and how the heck did you see that it was looking in an 'SND' folder.... I don't see it anywhere I copied and pasted?!? Amazing!

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Hannah,

    When I go to www.smukallmotorsports.com , I get an error page saying it could not find the page http://smukallmotorsports.com/SND/Welcome.html - so that's how I knew it was looking for an SND folder.

    Okay, I think I know how to fix this.

    Then:

    * Connect to your server.
    * Delete the index.html file and the Smukall folder that are on the server now.
    * Next, open the folder on your Mac that you published your website too.
    * Open the Smukall folder that is in that folder.
    * Drag all the contents of the Smukall folder to the Fetch window to upload them.
    * Visit your website and see if that works.

    (So, basically, you are going to ignore the index.html file that is outside of the SND and Smukall folders.)

    Let me know.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Edited 14 years ago #

  • Mike Member

    AHHHHH its a miracle! it works it works it works!!! thank you so much!!! you have to admit... it was frustrating figuring it out!!

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Hannah,

    You're welcome, I'm glad to hear it's working now.

    iWeb wasn't really designed to create two separate websites, so that was some of the difficulty here. But now you know the secret - after publishing your sites to a folder, open up the Smukall folder, and upload the contents of it.

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.