There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware motherboard mouse msn network networking outlook outlook 2007 power printer problem ram router screen slow sound trojan usb virus vista vista 32-bit windows windows vista windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
how do you re-direct a site?


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
cammi's Avatar
Senior Member with 574 posts.
 
Join Date: Jan 2003
03-Oct-2003, 06:16 AM #1
how do you re-direct a site?
how do you re-direct a site? you know... when you go to www.whatever.com, it re-directs you to www.anything.com automatically
RandyG's Avatar
Distinguished Member with 8,052 posts.
 
Join Date: Jun 2000
Location: American living in Dublin, Ireland
Experience: Advanced
03-Oct-2003, 06:54 AM #2
2 different ways. You can set the server to map www.whatever.com to map as www.anything.com

this would usually be set up with whoever is hosting your site www.whatever.com

or

if you want a splash page that automatically redirects visitors to another site, you would have
Quote:
From HTMLHelp.com:
<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.htmlhelp.com/">
tells the browser to load http://www.htmlhelp.com/ 10 seconds after the current document has finished loading. Not all browsers support this, so authors should provide an alternate means of moving to the new page where necessary. The Refresh header is sometimes used for "splash screens" or when a page has moved, but the technique is not very effective since users may not even be looking at the window that is to be refreshed and since it messes up the user's history on many browsers. Some search engines penalize pages that use a Refresh of a few seconds or less.
this type of tag is frowned upon by many search engines because the code has been abused to spam search engines.
__________________
Please let us know what answers your question, or fixes your problem.

Have you thought about donating to TSG??? No more ads, and help keep this site alive!!!

Don't meddle in the affairs of dragons, for you are crunchy and taste good with ketchup!!
khaki's Avatar
Distinguished Member with 2,433 posts.
 
Join Date: Jul 2003
03-Oct-2003, 10:31 AM #3
hi cammi.....

another way to redirect is to use javascript (but this method will not work for users who have javascript disabled).

<html>
<head>
<title></title>
<script language="JavaScript">
<!--
window.location="www.anything.com"
-->
</script>

</head>
<body>
<a href="www.anything.com">Redirect me</a>
</body>
</html>


you could always use Randy's META tag solution and this javascript solution together....
and you'll stand a better chance

and just to be safe....
include a link on your page (as shown above) that the user can click to redirect themselves (in case the other methods fail... for whatever reason)

k
moebius's Avatar
Computer Specs
Senior Member with 1,765 posts.
 
Join Date: Oct 2003
Location: Dubai, UAE
Experience: sudo give me your money
07-Oct-2003, 02:06 PM #4
if youre using ASP, try response.redirect(url as String) for vbscript

i would not recommend a client side redirect, since most ad-blockers are able to stop this.
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
13-Oct-2003, 10:05 AM #5
I think its the winow . location ("http:\\www.yourURL.com") without the spaces in between.

Keep this in the body tag in the onLoad event.
jelleym's Avatar
Senior Member with 478 posts.
 
Join Date: Sep 2001
Location: New York
30-Apr-2004, 05:24 PM #6
Sorry if I'm reviving this thread belatedly, but I can't find the answer to this:

A few years back, I decided to use Tripod free hosting, because it was recommended on Draac. At the time, I found it satisfactory, but subsequently, they've been degenerating from bad to worser to evil - insofar as, not only banners, but then tailers, popups, and now, AARGH! a sidebar framed on the left - coupled with the tailer now superimposing on the site's content itself! Seems like a ploy to deliberately chase away their free clients.

My site gets alot of visitors (45,000 since Feb 2002) but I'm positive they get turned off by that intrusive barrage.

Thing is, I want to keep the present site and wording as is (due to both the keywords, as well as some free tools which are intertwined with the site's URL). But, even disregarding the popup issue, the site's content also requires editing & updating, which might as well display in a newer, more-concise site.

So all I'm wondering, is:

(1) whether there's any tool which would allow me to prominently display a message to visitors, advising them to click for "ad-free update of this site", yet simultaneously keep within Tripod's and search engines' rules, to avoid the risk of deletion.

(2) why search engines never had a policy of offering people a password for their indexed sites, so that people could thereby easily switch to new hosts without forfeiting their status on the indexed queue. Doesn't this cause amateurs to sorta remain prisoners of so-called benign hosts who turn malignant?

Just as an aside, the site isn't a frivolous one. If it were, I wouldn't be as frustrated.
aolsux's Avatar
Account Disabled with 383 posts.
 
Join Date: Apr 2004
Location: Internet
Experience: Intermediate
30-Apr-2004, 08:40 PM #7
Quote:
Originally Posted by cammi
how do you re-direct a site? you know... when you go to www.whatever.com, it re-directs you to www.anything.com automatically
use this script (requries JavaScript):
<!-- TWO STEPS TO INSTALL TIMED REDIRECT:

1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: desypfa@hotmail.com -->
<!-- Modified: Benjamin Wright, Editor -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
redirTime = "0";
redirURL = "http://javascript.internet.com/new";
function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }
// End -->
</script>


<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->

<BODY onLoad="redirTimer()">

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 0.88 KB -->

edit redirURL to the url you want it to redirect the user to when they view it, then upload it to your main directory for the domain as index.html/index.php, etc
Big-K's Avatar
Distinguished Member with 6,883 posts.
 
Join Date: Nov 2003
Location: Kansas
Experience: Advanced
01-May-2004, 02:08 AM #8
Quote:
Originally Posted by jelleym
Sorry if I'm reviving this thread belatedly, but I can't find the answer to this:

A few years back, I decided to use Tripod free hosting, because it was recommended on Draac. At the time, I found it satisfactory, but subsequently, they've been degenerating from bad to worser to evil - insofar as, not only banners, but then tailers, popups, and now, AARGH! a sidebar framed on the left - coupled with the tailer now superimposing on the site's content itself! Seems like a ploy to deliberately chase away their free clients.

My site gets alot of visitors (45,000 since Feb 2002) but I'm positive they get turned off by that intrusive barrage.

Thing is, I want to keep the present site and wording as is (due to both the keywords, as well as some free tools which are intertwined with the site's URL). But, even disregarding the popup issue, the site's content also requires editing & updating, which might as well display in a newer, more-concise site.

So all I'm wondering, is:

(1) whether there's any tool which would allow me to prominently display a message to visitors, advising them to click for "ad-free update of this site", yet simultaneously keep within Tripod's and search engines' rules, to avoid the risk of deletion.

(2) why search engines never had a policy of offering people a password for their indexed sites, so that people could thereby easily switch to new hosts without forfeiting their status on the indexed queue. Doesn't this cause amateurs to sorta remain prisoners of so-called benign hosts who turn malignant?

Just as an aside, the site isn't a frivolous one. If it were, I wouldn't be as frustrated.
Next time make a new thread for your question. Alright, first off, did you build your site and upload to tripod, or use their free sitebuilder? If you built it yourself, then it should be easy. All you gotta do is get another host, such as www.150m.com, and put your site there. Delete the site on tripod, and make a page that says "THIS SITE HAS BEEN RELOCATED TO http://yoururl.com/", that way people still go to your site, but you dont have to deal with tripod. Same prob for me, except mine was built with sitebuilder. What i had to do was, since i had recently learned html, write a whole new site to upload somewhere else.

EDIT: just noticed something, If you have a sitebuilder made site, go to view/source. After the ad codes is the basic code to your site. Of course, tripod added lots of other **** but yeah. Good enough. Hope that helped.

BTW, whats the site?
jelleym's Avatar
Senior Member with 478 posts.
 
Join Date: Sep 2001
Location: New York
02-May-2004, 12:50 AM #9
Big-K, y'know you're right - I think I will open a new thread for this issue, so maybe you can respond on there. Here's the link:
http://forums.techguy.org/showthread...21#post1609921

Meanwhile, to answer your Q:

I use Arachnophilia vs. anyones' lumbering site builders.

But my question is, if I follow your example, what about the keywords etc?

As for the site, it's health related - you'd probably find it boring. Also it's a big mess & requires updating badly, and Tripod's "trigger fingers" certainly hasn't improve matters!

Do you think you can offer a practical solution for this particular complex case? If so, maybe I can PM you since a picture is worth 1000.

Last edited by jelleym : 02-May-2004 02:21 AM.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:23 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.