![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 5
OS: 98
|
need help with redirect code
I am trying to write a redirect code into a web page and have found some code, but have not found anything that will work. Maybe I am trying to do something that cannot be done. I am trying to redirect traffic to a subdomain from another subdomain. example: I am trying to direct traffic from a doman that looks like this xxxxx.xxxx.com to a site that looks like this www.xxxx.com/mine Obviously the mine is my page. I have read that the redirects will work only to the index pages. I'm sure someone will know the answer. Thanks in advance
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Retired
|
redirects will work on any page.
Really easy redirect: in the body tag (<body>) put this: onLoad="location.href='desiredurl'" and leave this page blank. Once it loads, it will redirect to the specified page. There are a bunch of different redirect scripts out there. Just google for them and you'll be able to find a ton. The one I just mentioned will work and is easy.
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 5
OS: 98
|
Gamerman0203--- can you give me an example of how that would look. I thought I followed your directions exactly, but it did not work. When you say inside the <body> are you saying in between the tags? and when you used the apos( abr) sign did you mean to use the quotes?
|
|
|
|
|
|
#4 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
Like this:
HTML Code:
<body onLoad="location.href='url'">
__________________
Nice music blog ![]() Nvu || Notepad++ || Apache || PHP || Keep TSF Alive "The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier." |
|
|
|
![]() |
| Thread Tools | |
|
|