Forum Moderators: open

Message Too Old, No Replies

Fix for viewing Abs url links offline

Which Win98se file needs editing?

         

Angonasec

5:25 pm on May 22, 2005 (gmt 0)



I'm using Win98se and I've just switched my website to using absoulte urls instead of relative ones.

ie. http://www.example.com/file.htm and /file.htm
instead of file.htm

And http://store.example.com/file.htm instead of file.htm

Trouble is... the links are broken when I try to view offline. Which is how I build pages.

I read at WebmasterWorld there's a fix for this by editing a system file, but the fix only mentions Win NT. Anybody able to give detailed instructions for Win98se?

Ta!

[edited by: bill at 7:45 am (utc) on May 23, 2005]
[edit reason] use example.com [/edit]

jdMorgan

6:01 pm on May 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Like these [google.com]?

Jim

Angonasec

12:48 am on May 24, 2005 (gmt 0)


Thanks jdM: those links got me some way there, but I'm still struggling.

Normal desktop Win98se IE5: (Stop giggling at the back! I use Linux for everything else.)

I've made a file called hosts in notepad, no extension.

In it I have just this:

127.0.0.1 localhost
127.0.0.1 subdomain1.my-domain.com
127.0.0.1 subdomain2.my-domain.com
127.0.0.1 www.my-domain.com

I saved it in C:/WINDOWS And I'm using this format of absolute urls in my html:

"http://www.mydomain.com/file.htm" and mostly "/file.htm"

But all the links are broken when viewed on my computer offline?!

Anyone help please?

Ta!