So I'm looking to start somewhat of a new businessmodel, by others known as rank&rent or rent-a-serp. It's definitely not new, but out here in the Netherlands we're a little slow with SEO sometimes...

Basically the idea is to rank a personal property for a high end local kw, let's say 'dentist in Amsterdam', and start renting it out for €XXX a month to a dentist in that area using a fullscreen iframe to show his website over your own.

Now back in the day I did some of this stuff with mixed succes. I like using WordPress for it's simplicity and had a nice little page / post template that would get rid of all the excess elements on the page / post. But as time went by, and WordPress started updating.... my waterproof concept somewhat fell apart. The content underneath the iframe started showing and I got scrollbars all over the place. Sometimes updates even got rid of the template completely!

Is there anyone out there who has some experience on this matter? Or maybe executing the above method succesfully as we speak? Perhaps there's a way easier way of doing this?

Tested on posts and it works decent enough. Scrolling bars are there and iframe loads after the content = not perfect. A bit of javascript could solve loading issue I believe. And you would be left with scrolling bars to fix.

That would be the quickest "fix" for what you need done. I played around with couple of plugins and, to my surprise, not single one of them does this properly. Not even close.

Tested on posts and it works decent enough. Scrolling bars are there and iframe loads after the content = not perfect. A bit of javascript could solve loading issue I believe. And you would be left with scrolling bars to fix.

That would be the quickest "fix" for what you need done. I played around with couple of plugins and, to my surprise, not single one of them does this properly. Not even close.

Hope this helps.

Click to expand...

Thanks for your help! Haven't been on BHW for a while but you guys never let me down.
I tried your code on a testdomain in a post (result:http://www.vincks.com/uncategorized/iframe-bericht/), unfortunately something is stripping the styling away.
Once I swich from "text" to "visual" and then back to "text" this is all that's left.

Thanks for your help! Haven't been on BHW for a while but you guys never let me down.
I tried your code on a testdomain in a post (result:http://www.vincks.com/uncategorized/iframe-bericht/), unfortunately something is stripping the styling away.
Once I swich from "text" to "visual" and then back to "text" this is all that's left.

As you can see im using seamless="seamless", scrolling="no" and additional overflow-x:hidden; overflow-y:hidden; also im positioning the iframe absolutely so it should be inside relatively positioned block element (in you case most likely body) and the page inside should be responsive. This will remove scrollbars in most browsers. How are you going to keep rank with embedded website? To do what you want you would have to replace your page content with hole in your page (because thats what iframe is) and from my experience google often don't like it (because spammers and phishers do it on daily basis)

As you can see im using seamless="seamless", scrolling="no" and additional overflow-x:hidden; overflow-y:hidden; also im positioning the iframe absolutely so it should be inside relatively positioned block element (in you case most likely body) and the page inside should be responsive. This will remove scrollbars in most browsers. How are you going to keep rank with embedded website? To do what you want you would have to replace your page content with hole in your page (because thats what iframe is) and from my experience google often don't like it (because spammers and phishers do it on daily basis)

Click to expand...

Gotta tell you, I'm not much of a coder of any kind. But I tried your code and we're slowly getting somewhere here. This is the result: http://www.vincks.com/uncategorized/iframe-post-b1acky/
The 'post area' is filled with the iframe, the original testwebsite is showing at the sides though, it's almost like WordPress is keeping the iframe within a cage or something.
The text field once again changes the code when switching between text and visual.
This is what's left after switching:

Got it, we're gonne figure this one out!
I spotted the missing quote so I tried with and without it, tough luck though.
Starting to think there might be something fishy about this WP install / theme or something.

Got it, we're gonne figure this one out!
I spotted the missing quote so I tried with and without it, tough luck though.
Starting to think there might be something fishy about this WP install / theme or something.

Note that adblockers might block our captcha, and other functionality on BHW so if you don't see the captcha or see reduced functionality please disable adblockers to ensure full functionality, note we only allow relevant management verified ads on BHW.