Hi, im trying to connect my webflow site to an independent html site i just want to show my latest post, and redirect them to my webflow
Hi Oscar, this is probably the easiest approach;
- Create a page on your webflow site, let’s call it
/embed
. That page will contain the content you want to embed on other sites, e.g. the latest blog post summary. Nothing else, no navigation, no header, no footer, nothing. - In that page’s custom code, include this in the
<head>
part. We don’t want this page to appear in google’s search results.
<meta name="robots" content="noindex">
- On your destination site use an IFRAME to embed your post, e.g.;
<iframe src='https://yoursite.com/embed">
Note you won’t be able to do this with your site while it’s staged on webflow.io
, because the security headers will tell the browser it’s not allowed. However, it will work fine on your custom domain.