Relatively linking?

Does anyone know from where to find appropriate information abut how to make relative linking inside own computer:

Example: Internet cable modem company changes the IP adresses of my home computers every now and then.

It´s not a big deal to change addresses in bookmarks and in a one site which links to my computers:

http://koti.welho.com/tsuonio1/site/

the difficult part is that I have a html sites in my computers webserver folders which includes links to user/topey/site- folder to be used as a backup for memory stick when working in two locations.

Now, when cable company changes the IP adresses, it´s not only the bookmarks I have to correct, but also the links in every computers homepages also, because links are like:

http://cs181192096.pp.htv.fi/~Topey/

if the cs1818… part changes the whole link is broken,

I tried to link something like http://users/topey/sites/ but could not figure out how to make it react relatively.

like making the link "first take two folder level upwards, and then follow path user/topey/site/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

To link upwards, use …/

So in your case, it would be …/…/user/topey/site.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks!

That directed to find a right path.

In the end, not an idea why, when I made some test links to see how many …/…/…/ levels I need to climb, I found out that only thing was needed was to write mark: (~) and username and slash ( ~topey/) and not any relative link marks.

instead of …/…/users/topey/sites/ (which did not work) I finally wrote only ~topey/ and there it is!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options