max_gb
January 19, 2021, 2:20pm
1
For a particular project using PHP I need to parse content from a server action and display it as static content, similar to how Node would render the content.
For example, currently in this project content is rendered like this:
<h1>{{content1.data.page_data}}</h1>
<p>{{content3.data.page_data}}</p>
Whereas I need it to actually render as:
<h1>Welcome</h1>
<p>Page intro text goes here.</p>
Ideas on how to achieve this please.
Teodor
January 19, 2021, 2:21pm
2
You need to use PHP for that.
Please check:
I decided for my newly created Africa Collection site that I would rather get the meta tags and other SEO tags filled with my own PDO connection because certain social media platforms and schema providers can not parse the javascript and just read the page source before it is rendered.
I have in the past used services from StackPath and prerender.io to produce similar results however this site changes pretty often, and the prerender indexing speed could become an issue for my client.
I needed …