I want to embed an existing blog into my website (e.g. www.site.com/blog/index.php into www.site.com/blog.php ) but I'm wondering if simply using an iFrame is sustainable - I read somewhere it's being phased out..?
Well you could try to put this in your www.site.com/blog.php
<iframe src="www.site.com/blog/index.php"></iframe>
A better way would be modify the blog's header and navigation to match your website's navigation. iFrames kill SEO and your blog will have a hard time getting into Google results.
Related
I'm trying to embed a youtube video on a WP site which uses Suarez theme, and the embedded video loads up as a picture, with no interactive elements. I tried to use both original and short links, the embed code, but none seem to work. Any insights on this topic ?
Thank you in advance.
I tried to use an iframe in the page itself and it worked. Did you try that?
i took a random video then i scrolled down to share and use the embed function. I coped all the code.
Then i went to pages in the wordpress and used my front page for this. Then i went to text in the standaard wordpress editor and pasted the code. hit save and there it was the video
NOTE:
you can make it autoplay when the page loads. and its default to allow full screen.
If you want to make it autoplay paste this behinde your iframe code like this : ?autoplay=1
this src is in you copied iframe tag!
src="https://www.youtube.com/embed/-9r7ezjl1us?autoplay=1"
Cees
I am developing an Affiliate Marketing Website using Wordpress. As per the SEO Policies, we have put rel="nofollow" to all the affiliate links on my site.
However, there is an Amazon Search Widget which is placed as a Plugin on my site. It contains some Affiliate Links to Amazon. Also, it is placed in an IFRAME.
All I wanted to know is that..does google crawl IFRAMES ?? If yes, will google penalise my website ranking if I do not add a rel="nofollow" Tag in the IFRAME that contains the affiliate links ?
If yes, please advice how do I put a rel="nofollow" tag inside javascript.
M_Emamian
I believe in the old days iframes where pretty much ignored by google however, I have read that they now do indeed see the contents. However they also understand the content is not yours so any SEO value is past onto the originator of the content, after all they know where the content is being sourced from via the src on the iframe.
It's only my belief as I have not tested it but I have seen in a couple of videos that a iframe neither helps or harms you as far as SEO is concerned.
If however you really want to add a nofollow to the iframe then what you need to do is create a new page with just the iframe on it then add in the meta tags <meta name="robots" content="noindex,nofollow">
Once done add a iframe on your normal page which points to the new page with the iframe on it.
It's a little long winded but that should work.
I have a website and a blog. I want to insert an iframe into the website, displaying the latest post from the blog.
So I need just the post content inside the iframe, without wordpress headers and sidebars.
Whats the best approach to achieve this?
Thanks for help.
If the site and the blog are on the same domain, you may be best off querying the latest post using the Wordpress API itself, making it unnecessary to fiddle with an iframe.
How to do that is described in Integrating WordPress with Your Website on the WordPress Codex.
If you need to do this using an iframe, I guess it's easiest to set up a new theme that doesn't display anything but the post itself. That would be some work though.
I recently put together a video tutorial of how I did this: http://www.youtube.com/watch?v=7GuocgQlCmw
I didn't get rid of the WordPress sidebar, but the tutorial shows how I used Firebug to get rid of parts of the header and the same technique should work for the sidebar. There are links in the youtube description to all the reference material I used including a link to a blog entry I wrote describing the process.
This doesn't really answer the question but why don't you use Wordpress for all of your website if you use templates you can make it look like a website and also have a blog. Have a look at this site i made using just Wordpress http://www.smkrc.co.uk. By doing this you would have access to the posts and would not need to use iframes.
I am developing my site. I am using Thestyle Wordpress theme in it. My every post is redirected to some other websites. And as they are redirecting I am loosing visitors to other site, I want to keep visitors on my site by in such a way that the external url opens in my site url.
Eg: stumbleupon - http://www.stumbleupon.com/su/1J1krv...com/gag/207886
Linkedin: http://www.linkedin.com/news?actionB...1eZ7X_46a_NkY1
I want to add same top heading bar like this sites do.
How can I do this?
I just searched plenty of sites which was telling how to use lightbox to open other pages.. but its not fully workable. I am a newbie in coding. Is there any other way to open such kind of things?
Try using a plug-in like gallery,light box, that will open URLs (as well as images) into a shadow box within your site
Does anyone know a way to implement an iframe on a WordPress website. Every time I place the code onto the correct page, wordpress strips my code and the iframe breaks.
I was wondering if there was a plugin that allows iframe code to stay intact or if there is some form of shortcode to use.
I have tried:
[iframe url="http://www.youtube.com/embed/X3kLPtVjjhA" width="579" height="360"]
[fixiframe url="http://www.youtube.com/embed/X3kLPtVjjhA" width="579" height="360"]
and installed the "embed iframe" plug-in on my site but none of them seem to work.
I appreciate the help.
You don't need an iframe to post a youtube video, but to answer your questions about iframes in wordpess..
I am not sure what those plugins do. You can create page templates and have iframes in your pages without using any plugins.
Create a new page template and add the iframe in the php code for that page template. More specifically, create a copy of page.php and rename it. In the comments at the beginning of the file, edit the line with the template file name to Template Name: MyPage. Edit the page code and add iframe code where you need it. And select this template (MyPage) as the template for your page in page edit section wp-admin.
You can also add the embed code as meta information to page in wp-admin, and fetch this meta information in the code to display the iframe. In this way, you can use different iframes for different pages with a single template.
Let me know if you need help with this. I will post a complete solution
Why are you using an iframe to load a Youtube video, you should use the embed tag that they show under the video...
I have iframes in my wordpress for all the Facebook/twitter buttons and they work great!