redirect to another url.

M

Mr. x

Hello,
Can I do in html code, redirection to another URL.
If so, then how ?

Thanks :)
 
K

kaeli

S

Stuart Palmer

Look at yahoo.com.......in HTML, look up 'meta refresh'.....or with JS look
up 'window.location'.

Stu
 
K

Klaus Johannes Rusch

Stuart said:
Look at yahoo.com.......in HTML, look up 'meta refresh'.....or with JS look
up 'window.location'.

Keep in mind that search engines generally do not follow meta refresh and
Javascript redirection, and may exclude portions of your site from their index.
It is good practice to provide a regular link also in case the refresh does not
work for some reason.
 
D

Dr John Stockton

JRS: In article <[email protected]>, seen in
news:comp.lang.javascript said:
Keep in mind that search engines generally do not follow meta refresh and
Javascript redirection, and may exclude portions of your site from their index.
It is good practice to provide a regular link also in case the refresh does not
work for some reason.

However, that does not mean that every instance of a computed link and
every instance of a meta refresh must be paralleled with a corresponding
plain link.

It should be enough to link all your pages in a chain, and to have an
outside link to the first page; or link in a ring, with an outside link
to one page; or an externally-linked index page linking to all the rest.

With a bit of programming, this can be automated for authoring time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top