<p>Pretty simple answer - the .env file was not showing the correct primary site i.e.</p>
<pre><code>PRIMARY_SITE_URL=https://www.XXXXXXX.com

http:// XXXXXX 
</code></pre>
<p>should have been</p>
<pre><code>https:// XXXXXX
</code></pre>
<p>very embarrassingly for me, this error was clearly displayed in the console log of the live preview site i.e.</p>
<ul>
<li>navigate to the live preview page</li>
<li>enter dev tools</li>
<li>view console for the log errors</li>
</ul>
<p>There is also another post of this issue as well:</p>
<p><a href="https://craftcms.stackexchange.com/questions/30119/live-preview-not-loading-https-http-conflict">Live Preview not loading - https / http conflict</a></p>
<p>(I'd like to suggest this post be left open as I had previously seen that post but did not attribute it to this issue - possibly due the double digits spent infront of the screen...)</p>

CC BY-SA 4.0
2021-05-20T08:36:04.467Z
2021-05-20T08:36:04.467Z
Wally
<p>When I try to live preview my craft site the content of the live preview is blank:</p>
<p><a href="https://i.sstatic.net/sFATF.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/sFATF.png" alt="enter image description here" /></a></p>
<p>This is happening for all pages.</p>
<p>I have set the template file for the page to use:</p>
<p><a href="https://i.sstatic.net/We2As.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/We2As.png" alt="enter image description here" /></a></p>
<p>I am running Craft Solo 3.6.12</p>
<p>Something that is also kinda odd is that the SEO plugin I am using cannot seem to detect the content on the page, my suspicion is that these two things are linked:</p>
<p>SEO plugin:</p>
<p><a href="https://i.sstatic.net/mixz0.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/mixz0.png" alt="enter image description here" /></a></p>
<p>I get an odd error when trying to use the SEO plugin for key words:</p>
<p><a href="https://i.sstatic.net/fBfDw.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fBfDw.png" alt="enter image description here" /></a></p>
<p>I have looked at some of the issue on github but have not been very successful finding a solution so if anyone has come across this before and could offer some dev wisdom that would be great.</p>
<p>Please ask any questions you might have,
all the best - W</p>

CC BY-SA 4.0
2021-05-19T17:40:19.963Z
Could you share what's in your `templates/index` file?
Oli
CC BY-SA 4.0
2021-05-19T18:48:38.640Z
Hi Oli - Have you seen this behavior before when an issue is present in the twig file? The reason I ask is that all pages are not showing in the preview and they are all different so maybe there is a common dominator in the head / header / footer
Wally
CC BY-SA 4.0
2021-05-19T18:59:39.310Z
Also side note here but the Preview Targets is not diplaying at all - not sure if that is because this is a Solo craft and not pro
Wally
<live-preview><seo>
No live preview & SEO plugin cannot find content on page
# No live preview & SEO plugin cannot find content on page

(Asked by: username_0 on 2021-05-19)

When I try to live preview my craft site the content of the live preview is blank:

[![enter image description here](https://i.sstatic.net/sFATF.png)](https://i.sstatic.net/sFATF.png)

This is happening for all pages.

I have set the template file for the page to use:

[![enter image description here](https://i.sstatic.net/We2As.png)](https://i.sstatic.net/We2As.png)

I am running Craft Solo 3.6.12

Something that is also kinda odd is that the SEO plugin I am using cannot seem to detect the content on the page, my suspicion is that these two things are linked:

SEO plugin:

[![enter image description here](https://i.sstatic.net/mixz0.png)](https://i.sstatic.net/mixz0.png)

I get an odd error when trying to use the SEO plugin for key words:

[![enter image description here](https://i.sstatic.net/fBfDw.png)](https://i.sstatic.net/fBfDw.png)

I have looked at some of the issue on github but have not been very successful finding a solution so if anyone has come across this before and could offer some dev wisdom that would be great.

Please ask any questions you might have,
all the best - W

**Tags:** live-preview, seo

> **Comments:**
> **username_1**: Could you share what's in your `templates/index` file?  
> **username_0**: Hi username_1 - Have you seen this behavior before when an issue is present in the twig file? The reason I ask is that all pages are not showing in the preview and they are all different so maybe there is a common dominator in the head / header / footer  
> **username_0**: Also side note here but the Preview Targets is not diplaying at all - not sure if that is because this is a Solo craft and not pro  

---

## 1 answers

### Answer by username_0 on 2021-05-20. Score: 1

Pretty simple answer - the .env file was not showing the correct primary site i.e.
PRIMARY_SITE_URL=https://www.XXXXXXX.com

http:// XXXXXX 

should have been
https:// XXXXXX

very embarrassingly for me, this error was clearly displayed in the console log of the live preview site i.e.

navigate to the live preview page
enter dev tools
view console for the log errors

There is also another post of this issue as well:
Live Preview not loading - https / http conflict
(I'd like to suggest this post be left open as I had previously seen that post but did not attribute it to this issue - possibly due the double digits spent infront of the screen...)


---

