Thread: Automatic Redirecting...how?
-
November 11th, 2004, 11:53 AM #1
Automatic Redirecting...how?
Hey guys, had a Q for ya. How do you do an auto redirect to a "new" site? I'm what you'd call a newbie at HTML coding, I can make an entire site with frames or tables or what not with notepad. I can do a "click here to redirect" link (not too difficult I know), but I was wondering how to do those automatic redirects.
Thanks
-
November 11th, 2004, 12:12 PM #2
It's fairly simple. Just use a bit of javascript:
Code:<script language=javascript><!-- top.location.replace("http://www.my_domain.com/"); //--> </script>
-
November 11th, 2004, 12:18 PM #3
Excellent, thanks!
Oh and where do you usually place this tag?
After the opening html tag?
-
November 11th, 2004, 12:20 PM #4
This example would redirect you to TechIMO in about 8 seconds
Code:<HTML><META HTTP-EQUIV="Refresh" CONTENT="8; URL=http://www.TechIMO.com">
-
November 11th, 2004, 12:31 PM #5
You can use either or...but, I don't recommed the meta refresh tag unless you don't want search engines to index it. If you decide to use the meta redirect instead of javascript, make sure that you don't set
to 0 (seconds before it redirects to another page) as that will cause problems with Google.Code:CONTENT="x;
If you want to use the javascript tags, you should put it inside of your <html></html> tags.
-
November 11th, 2004, 12:33 PM #6
Excellent, much apprieated embj for all your help, and DVNT1, thank you as well.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Windows Sp 2, Will Not Download
By xfrankyx in forum Technical SupportReplies: 7Last Post: September 11th, 2004, 03:23 AM -
MS Updates
By The Real Bingo in forum Security and Privacy IssuesReplies: 5Last Post: June 10th, 2004, 02:56 AM -
Own(ed) a handgun?
By Warthog in forum IMO CommunityReplies: 116Last Post: October 21st, 2002, 05:31 PM -
Old classic car question
By daveleau in forum IMO CommunityReplies: 27Last Post: July 30th, 2002, 11:51 PM -
Win XP Pro logs it's self on to the internet
By Ash in forum Applications and Operating SystemsReplies: 6Last Post: April 7th, 2002, 05:19 PM



LinkBack URL
About LinkBacks




Reply With Quote


Vin Diesel Promises That Fast & Furious 7 Will Return To The Streets Of Los Angeles Watch The Hangover Part 3 Online Following their summer movie preview issue, which gave us new looks at the...
The Streets Of Los Angeles