Reply to Re: Help please redirecting frame pages using php

Your name:

Reply:


Posted by Dynamo on 06/27/05 16:50

In article <42bff605$0$50382$e4fe514c@news.xs4all.nl>, Erwin Moller says...
>
>Dynamo wrote:
>
>> Hi
>>
>> My site uses frames and some of the frame pages are ranked higher in
>> search engine rankings than the main page. When somebody clicks on the
>> link it takes them to the frame page and they don't see my page as it
>> should be viewed plus it displays a javascript error.
>
>Frames are evil. :-)
>
>>
>> I need a way using php so that when the link is clicked on in either yahoo
>> or lycos that it loads the main frame html page (not the subframe html)
>> and that
>> the subframe html page is loaded into the correct frame within the
>> mainframe html page. Is this possible and how?
>

>Yes, but I think you better use Javascript instead of PHP.
>Your problem is this: People click on a hyperlink that points to a certain
>html-file (or PHP file).
>Then the page is fetched and delivered into the browser.
>The browser should now check to see if the requested page is in a frame as
>it should.
>
>You can start your html-pages (or html generated by PHP) with certain checks
>to see if there are frames present.
>
>But try reposting this question to a javascript newsgroup for more
>information. (comp.lang.javascript)
>
>Regards,
>Erwin Moller
>
>
>>
>> As ever any help greatly appreciated.
>>
>> TIA
>> Dynamo
>
OK Thanks for that. I'll try posting messgae in javascript newsgroup. And yes I
know that frames are evil but having just achieved number 1 rankings for my site
I am reluctant to make any major changes.
Regards
Dynamo

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация