R
Ross Culver
I have a site where most of the time users never leave the default page.
Using an iframe, most pages are loaded into the iframe when users click
buttons via codebehind code.
After optimizing the site (unless I set the robot.txt to indicate
otherwise), the search engines are going to create links directly to these
'child' pages and when users click those links they're going to load pages
that don't have any navigation to the site itself.
Is there a way to put code in the page_load event that will check to see if
the page is being presented within an iframe, and if not, redirect the page
to the default page?
I hope this question is clear.
Thanks,
Ross
Using an iframe, most pages are loaded into the iframe when users click
buttons via codebehind code.
After optimizing the site (unless I set the robot.txt to indicate
otherwise), the search engines are going to create links directly to these
'child' pages and when users click those links they're going to load pages
that don't have any navigation to the site itself.
Is there a way to put code in the page_load event that will check to see if
the page is being presented within an iframe, and if not, redirect the page
to the default page?
I hope this question is clear.
Thanks,
Ross