Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
hyperlinks on desktop vs web host site?
so i've got an index.html file which includes links to content found on my desktop when i made it. now i want to upload it to a hosting site but i don't understand how to ftp the whole directory which has index file as well as all the linked content. can anyone help with advice to a novice? thanks
1 Answer
- Me2Lv 76 years agoFavorite Answer
There are two basic scenarios that may apply here. Either (1) keep all the files in the same folder, or (2) place files (other than index.html) in folders contained within the folder where index.html is stored.
First case —
Copy index.html and all the linked files, page graphics, etc., into a new folder. Open index.html and verify that each link works, as well as links to other local pages, and that graphics are displayed properly.
For link and image URLs that fail, edit those URLs such that only the filenames remain. For example, change
<a href=" file:///E:/Pages/page1.html ">Page 1<a>
<img src=" file:///E:/Images/pic.jpg ">
to
<a href=" page1.html ">Page 1<a>
<img src=" pic.jpg ">
Second case —
Copy index.html and other pages into a new folder. If you want to keep images separate from the pages (a good idea that reduces clutter), create within the new folder a folder named "images", and place all image files there.
Edit the page files to change "<img src=" URLs to be similar to
<img src=" images/pic.jpg ">
You can also opt to keep pages in another folder. To do this, create a folder named "pages", and move all pages (other than index.html) into the folder.
Edit index.html to include
<head>
<base href="pages/" target="_self">
</head>
For pages that include a link to index.html, edit the link's URL in those pages to
href=" ../index.html "
————— ————— ————— ————— ————— —————
Once you're satisfied that links, images, etc., are functional, simply copy all the files (and folders, if any) to your site. Two good FTP clients that make the job simple are WS_FTP LE and FileZilla.
WS_FTP LE
http://www.oldversion.com/windows/ws-ftp-le-6
FileZilla