How to use iframes applications for redirecting offers
Search engines catalogue the Wordpress posts and link back to them, not the main site. URL's for individual posts also don't work in the main site. meaning that if a page A is loaded as an IFRAME inside an parent page P some Javascript in A redirects the outer window to A. I've read that it is possible to create a redirect to overcome this problem but don't know how to do it.
Re: How to use iframes applications for redirecting offers
If you wanted to redirect from one site to another site you may use the href command in you program to redirect and this will be done as under.
<frameset rows="100%,*" border="0">
<frame name="__main" src="http://www.anothersite.com/folder/"
noresize frameborder="0">
<noframes>
<h2>Your Web browser does not support frames</h2>
<p>
Please click the link to visit
<a href="http://www.anothersite.com/folder/">http://www.anothersite.com/folder/</a>
directly.
Re: How to use iframes applications for redirecting offers
Usually, most people don't usually type in the specific page they want, they use the site's navigation. Try using the onbeforeunload property, which will let the user choose whether he wants to navigate away from the page.But let's say for example, a user does type in the exact URL of the page they want to go to like. This works OK.... until you get to a site that uses frames.
Re: How to use iframes applications for redirecting offers
A way to go around this limitation woould be to put a script in each page that checks to see if the page was loaded with the proper frames. Since the page you load inside the iframe can execute the "break out" code with a setInterval, If the user types in a direct URL, the script redirects you to the index page which loads the site using the proper frameset.