philnolan3d
08-27-2008, 09:21 AM
I finally finished and uploaded my website redesign:
http://www.philnolan3d.com
I've already received a huge number of hits and no major complaints so I'm happy. However while watching my stats I can see that a number of hits are coming from Google and people are hitting my "child frames" instead of the main parent page. Probably because the child pages have the same file names as my old site.
So what I'd like to do is have the child page automatically load the main site if someone hits it by accident, like through Google or another search engine. I'm sure I've seen scripts for doing that in the past. The problem would be that it's essentially loading itself along with the main frame, so it would create an infinite loop if my logic works correctly.
Anyone have a suggestion on what to do? I figured the Javascripts forum was the best place to ask.
http://www.philnolan3d.com
I've already received a huge number of hits and no major complaints so I'm happy. However while watching my stats I can see that a number of hits are coming from Google and people are hitting my "child frames" instead of the main parent page. Probably because the child pages have the same file names as my old site.
So what I'd like to do is have the child page automatically load the main site if someone hits it by accident, like through Google or another search engine. I'm sure I've seen scripts for doing that in the past. The problem would be that it's essentially loading itself along with the main frame, so it would create an infinite loop if my logic works correctly.
Anyone have a suggestion on what to do? I figured the Javascripts forum was the best place to ask.