I want to do conditional server side rendering (PHP) and client rendering (Angular).
Basically we have headless documentation repository which provides content via REST API.
Angular application for this headless CMS is already available.
Now for search engine indexing we need to support server-side rendering and PHP looks to be good candidate.
So when any user search on Google/Search engine, and if our content matches, search engine will display it in results. Now when user clicks on that link, our PHP page will redirect it to angular application.
Any help will be appreciated for solving this.