Trying to redirect old site to new one

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Trying to redirect old site to new one
iluvgolf18
CZ Newbie
Website:
Status: Offline
Joined: Oct 19, 2003
0.00 posts per day
Posts: 23
Points: 1,282
 Yahoo Messenger  
I got a code to redirect our old myleague site (www.myleague.com/tourneypool) to the new one [ Register or login to view links on this board. ] We had a problem with the left side of the myleague page still showing with the new page in the right portion of the page.
It would not let me show the Script code here but, since we have PHP Nuke on the new site, I was told to find the PHP Nuke index page and put that script in there. Where is the PHP Nuke index page? The only one I know is the index.php for the site. Then I have this code to put in the edit right table part of the old page to redirect:
<body onLoad="parent.frames[0].location=’http://tourneypool.net’;">

The link will have to be changed of course depending where the other script goes. So where do I put the first script and how do I do this? Thanks.


Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Ok you have the right code that goes in the edit right table now you have to add this script into the php site. In order to that you have to edit one file includes/my_header.php. Open that file and and then click here:
[ Register or login to view links on this board. ]

Telli




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
iluvgolf18
CZ Newbie
Website:
Status: Offline
Joined: Oct 19, 2003
0.00 posts per day
Posts: 23
Points: 1,282
 Yahoo Messenger  
I put the Script into the includes/my_header.php like you said. But now I get this error on the top of the tourneypool.net page: Parse error: parse error, expecting `','' or `';'' in /var/www/html/includes/my_header.php on line 25


I dont know where it means that the script is wrong cause I know nothing about it.
Also, I downloaded the framepopper and uploaded it into the 'html' folder and saved it as framepopper.js. Is that right?
And when I put the bodyonframe code into the right table, what link should I use? The one to my_header, or framepopper, or just [ Register or login to view links on this board. ] Thanks.

Golfy



Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
See if it works now.

Telli




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
And change this in the right table so it looks like this:

<body onLoad="parent.frames[0].location='http://www.tourneypool.net/index.php';">


Telli



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   
iluvgolf18
CZ Newbie
Website:
Status: Offline
Joined: Oct 19, 2003
0.00 posts per day
Posts: 23
Points: 1,282
 Yahoo Messenger  
I changed the code in the right table to what you said and it still doesn't work. Is there something else I missed?



Back to top Reply with quote
#7   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Clean your cookies please it works fine for me.

Telli




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   
iluvgolf18
CZ Newbie
Website:
Status: Offline
Joined: Oct 19, 2003
0.00 posts per day
Posts: 23
Points: 1,282
 Yahoo Messenger  
Thank you sooooo much telli, it works now for me too icon_wink.gif



Back to top Reply with quote
#9   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Your quite welcome!

Telli




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum