Hi I have multiple pages that reside in an iframe and I would like them to open in the parent page when say a search engine indexes them or people directly link to them.
Example: -this page will be the parent page and have an iframe -this will be first page.php -then there will be second page.php, third page.php, fourth page.php, ect.
I would like it if someone linked to any of the pages that require the iframe to load the parent page with the iframe and load the url into that iframe. So if someone links to say third page it will load the parent page and load third page in the iframe.
I have tried the following scripts that I have found from posts across the web but they only load the parent page with the original src in the frame.
I also tried:
The pages in the iframe are dymanically created as well so idk if that has anything to do with it or not.
Also idk if anyone knows how this practice effects seo there are not many words and no tags on the parent page so I was just curious about that too.