Forum Moderators: open
or just: john.htm
?
[edited by: ciml at 10:07 am (utc) on Oct. 19, 2004]
[edit reason] Examplified [/edit]
Is there a way to test absolute links offline?
I can't think of any. Maybe I missed something along the way.
It is very simple to do this. All you need to do is add an entry in your local "hosts" file that specifies what ip address to match with the name. You can either direct the domain name to your local machine using 127.0.0.1 or to a testing domain on a different ip address. I use this option because it gives me an almost exact duplicate of the environment on my server.
The hosts file is located on current windows machines in:
C:\WINNT\system32\drivers\etc
or whatver your widows system directory is.
The hosts file entry would look like this:
127.0.0.1 www.example.com