How can I dynamically set the page title and description on a PHP page?
When I try to add them, I encounter the following issue:
There are many threads covering this subject.
I think he asked this question before, so I guess he really wants server-side data binding, and the first topic with a solution uses Server Connect and dynamic binding...
I would want the same tbh, I don't really like this whole "Google can crawl dynamic content" idea, because Google is not the only search engine. Fortunately for me, Wappler natively implements server-side data binding for NodeJS.
I am trying to use this Header Solution
But I get
file_get_contents(./dmxConnect/api/propertyDetail.php?property_slung=xxx-huatulco-5b2): failed to open stream: No such file or directory.
I have tried absolute, relative paths but no success.
I do agree but statistically speaking:
We don't have any issues with other search engines (Node JS), we do fine across the board, although some other search engines do take a little longer to index, but most of the time within seven days or so. As far as I remember we did OK with PHP too.
I do it manually using MySqli. Works fine so far.