|
Posted by kolesdz on 08/17/07 16:52
Jukka K. Korpela wrote:
> Scripsit kolesdz:
>
>> My question concerns meta-tag.
>
> Please ask the question in the message body, as clearly as possible. No
> not refer to the Subject line or imply its content in the body. ObHTML:
> The same applies in HTML authoring: <title> is necessary, <h1> is almost
> always essential, but neither of them should be referred to or implied
> in the rest of the content.
>
> So you apparently want to "Redirect to link nr 2 if link nr 1 is not
> working". This is not possible using <meta> tags, or any HTML tags.
>
> The conclusion is that you should probably put two (or even more)
> alternate links on your page, if you expect that the first one might
> fail often. This is quite simple - and sites that offer software for
> download often use such a tactics, perhaps offering the user a fairly
> large list of links that all do the same thing (when they work). But
> two, or maybe three, should normally be enough.
>
> Server-side, you could implement auto-redirect in a sense. Your <a
> href="..."> would then use a URL that invokes a server-side script,
> which accesses a URL where the content resides, and sends it to the
> client; but if the operation fails, it could access an alternative URL,
> etc. However, there's not much point in this, as a rule. It fails when
> the system where the script resides is not available. And if you trust
> that system so much that this does not matter, why don't you put the
> content proper on that system and use simple URLs to it?
>
Very good idea. You solved my problem. Thanks Jukka.
Yes, I have access to server I can trust.
Jack
Navigation:
[Reply to this message]
|