[thelist] REDIRECT in a hurry
deke
web at master.gen.in.us
Wed Apr 25 03:54:42 CDT 2001
On 24 Apr 2001, at 21:57, Ron Dorman posted a message which said:
> i am, this is interesting, example cammand please?
ln -s temporary.file index.html
creates index.html, a symbolic link to temporary.file
It won't work if there already is an index.html and if you
delete temporary.file, the link doesn't get deleted, it merely
points to nothing.
By creating a symbolic link to a directory with a long name, users
can type either http://www.mydomain.com/a/file32.html or
http://www.mydomain.com/antidisestablishmentarianism/file32.html
<tip type="tracking referrals">
The best use of symbolic links is for tracking affiliate referrals. If you
have a different symbolic link for each affiliate, joe's site can send
users to mydomain.com/joe/file32.html, bill's site can send users
to mydomain.com/bill/file32.html and sue's site can send users to
mydomain.com/sue/file32.html
It's all the same directory, so there is no extra maintenance, but
each affiliate's users show up differently in the log file.
No cookies, and no cookie hassles, but sue gets credit for all
her referrals - even if someone looks at the site first from work,
writes down the URL, and buys using the computer at home.
</tip>
deke
------------------------
"The church is near but the road is icy;
the bar is far away but I will walk carefully."
-- Russian Proverb
More information about the thelist
mailing list