| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|how to make a redirect page|
what is the code to redirect to a different page
Welcome to Webmaster World :)
Try a search, I'm certain you'll find what you are looking for.
<META HTTP-EQUIV="Refresh" CONTENT="3; url=http://www.#.com">
"3" is how many seconds till the page redirects
If you're using ASP you can do the following:
response.buffer = true
NextPage = "http://..."
However, you do not have control over the time element. It redirects immediately.
Some search engines will not index the referring page, just the destination. Other SEs may interpret a meta refresh as SPAM. Placing your redirect code in an external file will avoid both.
Create a .txt file with this:
Rename it as a JS file, example: redirect.js
Then in the HEAD section of the redirecting page, add:
Note: Also redirects immediately.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved