DEV Community

Discussion on: Headless WordPress with React

Collapse
 
timothymehlhorn profile image
Tim Mehlhorn

On the SEO note, Google's crawler will process the site just fine but Facebook and Twitter don't run any javascript. A common approach is to reroute (.htaccess rewrite) the non-javascript running crawlers straight to the posts within WordPress. This lets the crawlers see the meta-tags and users to see the react-app.