The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
Description of your issue
I learned about Frontity last night and rolled out my website to layer 0 this morning.
There is no problem in the execution results of the following script except the following message ‘entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (488 KiB). This can impact web performance.’.
You need to make your REST API public for Frontity to work.
I hope this is of help
1 Like
pitang19653
Thank you for your comment.
I think everyone has access to https://software.pitang1965.com/wp-json, but is it still protected in this situation?
I don’t even know where to switch protection in WordPress.
orballo4
I cannot tell where you can change the settings to access the REST API. Since WP 4.7 the REST API is active by default. Maybe you have some plugin/theme blocking it, or the hosting service is doing that. I can see that the /wp-admin page is also restricted at server level, so maybe that helps you troubleshoot.
1 Like
pitang19655
Thank you for your comment.
I tried disabling WordPress security plugins, but the results don’t change.
Is it related to WP GraphQL etc.?
orballo6
Nop, it shouldn’t be related to GraphQL, as that plugin has its own endpoint. I’d suggest you ask the hosting service if they are blocking it, if you didn’t find any plugin that might be causing it.
Thank you for your comment.
I will ask the hosting service.
pitang19658
After reviewing the settings of the rental server, I found that REST API access from overseas was restricted.
Now the problem is gone.
Thank you very much.