uploading home page web files to server
Results 1 to 3 of 3

Thread: uploading home page web files to server

  1. #1
    Join Date
    Dec 2000
    Location
    Guelph, Ontario, Canada
    Posts
    4

    uploading home page web files to server

    I get an error msg when trying to upload my web page to my server: "Links invalid because they refer to files on your local hard disk." How do I strip out the local reference from these files before I upload them?

  2. #2
    Join Date
    Feb 2000
    Location
    detroit
    Posts
    165
    change the code from, for example...<a href="...c///thelink">link</A> to <a href="http://www.whereyouwantthelinktogo"link</A> You can change the code in any html editor, or note pad, then upload.

  3. #3
    Join Date
    Jun 1999
    Location
    LI, NY, USA
    Posts
    236
    Alternatively, you can just make them relative links as opposed to absolute. By absolute, you're stating the complete location including the http:// part. By relative, just insert the .html file name for each link relative to the web root directory on the server.

    So if you have index.html and have a link in that page going to test.html, refer to it as <A HREF="test.html">Test Page</A>.

    If test.html were in a subdirectory of your web root, just type <A HREF="/subdirname/test.html">Test Page</A>.

    Using relative links makes it easier if you ever decide to relocate your webpage since you're not stating any absolute location for these files... it's all just "relative" to the root already.

    ------------------
    http://www.rh71.com (high bandwidth preferable)

    [This message has been edited by rh71 (edited 12-12-2001).]
    http://www.rh71.com (high bandwidth preferable)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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