Skip to main content

[Resolved] Content Not Visible When Public?

Even though I have made everything public in my community, it is still not visible when logged out.

Where did I go wrong?

I can make it restricted but that will prevent google indexing and people being able to share their own content which would be a shame

[Resolved] Content Not Visible When Public?

Artur Abakarov

Check the space settings; most likely, they are private or only accessible to logged-in users.

Chris Garrett

Artur AbakarovΒ set public already :(

Artur Abakarov

Chris Garrett Did you just change the settings? Try clearing your browser cache and the server cache. Check in incognito mode.

Chris Garrett

Artur AbakarovΒ cleared all caches including cloudflare last night and am using incognito. Perhaps I need to put a support ticket in at this point?

Artur Abakarov

Chris GarrettΒ Before doing that, check something else: make sure you have selected a "group" for these spaces.

Chris Garrett

Artur Abakarov

Chris Garrett Yes, I don't understand why the content isn't displaying. I don't have any ideas yet.

Chris Garrett

Artur AbakarovΒ thank you for trying :)

Artur Abakarov

Chris GarrettΒ This could have happened to me if I didn't go to the space or feed /portal when, after logging out, the main page was empty. But if you go to the space and there is nothing there, then the last thought is that it could still be the L7 cache from your CDN.

Chris Garrett

Artur AbakarovΒ yeah I cleared my hosting provider cache and cloudflare, plus it is set to invalidate cache on wp db/content changes so I am confused. I even turned all caching off and added random url querystring parameters

Artur Abakarov

Chris GarrettΒ Try saving the WordPress permalinks again.

Chris Garrett

Artur AbakarovΒ tried that, no change. I had to do it because I was not using portal as the slug for it to show up as /community when I first installed too

J V

Chris GarrettΒ In your general setting, what is the access? Public just means there is no paywall, however you need content to be available for all users and not restricted to logged-in users.

+1

Chris Garrett

I thought I had solved it but unfortunately I hadn't so problem continues :(

Jorge de los Reyes

Hello Chris GarrettΒ !

By any chance are you delaying or deferring JavaScript?

Sometimes. This β€œstrange” behavior is due to performance enhancements, and / or plugin incompatibility.

I’ll try checking those!

Hope it helps and you can fix that soon!

Chris Garrett

Jorge de los ReyesΒ success! thank you, it works now I stopped deferring and minifying JS.

Guess this might mean Google has problems indexing the content anyway if it is JS rendered (thought they are getting better at that) but it does mean people will be able to share their threads/posts

Give that man a star! 🌟

Jorge de los Reyes

Chris GarrettΒ yay! Happy to help ! πŸ˜„

I guess granular JS delay and deferring is still possible at a site level. (Excluding /portal).

But definitely, testing is needed so as not to break something without noticing πŸ˜…

Artur Abakarov

Jorge de los Reyes, perhaps you know whether it is safe to enable the CSS, JS, and HTML minification feature in LiteSpeed Cache (or another plugin) for a website with Fcom?

Jorge de los Reyes

Artur AbakarovΒ I think that the safest approach is to test it πŸ˜…

that being said, in general, I just found problems mainly with JS 🫑.

FC is already top notch performance. So, in the end, you won’t find a real difference with JS, CSS or HTML.

At a server level, however, as it is usually the case, you can make noticeable enhancements.

I managed to have a 0.26 to 0.47 server response time. Which I’m pretty happy with as it makes everything look more β€œinstant”.

So, for FC, I’ll leave it as it was thought, and focus more on which specs can you customize at a server level (just my experience).