1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Temporary files on PC over writing files sent from server!

Discussion in 'Web Design & Development' started by adamdale1, May 6, 2017.

Thread Status:
Not open for further replies.
Advertisement
  1. adamdale1

    adamdale1 Adam Thread Starter

    Joined:
    May 6, 2017
    Messages:
    2
    Have a Host for experimenting with site writing! Use Fire Fox mainly, about a year ago something changed! On writing simple code with links to code in same directory and uploading to host, checking with browser, the page comes up, but then either 1. On highlighting the link it does not display the host location but a temporary file located on My PC! e.g, Location

    www.xxx.com/ x/login.htm but displaying file:///C:/Users/Owner/AppData/Local/Temp/login-2.htm

    2. If it does display the correct location, on clicking it, the browser brings up a popup box asking whether I want to open the file, with what or save? Opening with browser opens the file but in the address bar it's the file:///C:/User/... as show above! If I use a different PC it does 2. The most frustrating part is I'm always innovating, testing code finding it works on my locacal server and PC, but when uploaded using the FTP, the above occurs, I've cleared all caches and history, to no avail, so now I'm at a standstill, any code I write and upload with a link does the same, I've tried to find a solution on the Net, but how to ask the question without knowing the key word or phrase? HELP!
     
  2. Sponsor

  3. colinsp

    colinsp Colin

    Joined:
    Sep 5, 2007
    Messages:
    2,102
    Check your hosts file, you probably have a redirect in there pointing your live site to your local development address.
     
  4. adamdale1

    adamdale1 Adam Thread Starter

    Joined:
    May 6, 2017
    Messages:
    2
    Thank you for your response Colinsp / Colin, haven't identified the problem yet, but that keyword “redirect”, has opened doors and a new learning curve! Hopefully leading to a solution! I wish there was a dictionary of these keywords or phrases that we had access to, it would make finding solutions to problems so much easier! In this case one word leads to information, while accessing a search engine, without knowing how to ask a question, leads to a quagmire of responses not relevant to what you're searching for!
     
  5. colinsp

    colinsp Colin

    Joined:
    Sep 5, 2007
    Messages:
    2,102
    Just search for 'edit hosts file' and that will show a load of links and stuff for you to read.

    You will probably find something like

    Code:
    127.0.0.1 www.yoursite.com
    
    Just delete this line
     
  6. TonyB25

    TonyB25 Banned

    Joined:
    Dec 31, 1969
    Messages:
    2,540
    Link paths are wrong if they're referencing anything on a local drive.
     
  7. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1189573