I have a site built in AngularJS. Most of the dynamically-loaded content comes from a Wordpress back-end that is separate from the AngularJS site. In fact, it's a completely different domain and we do not want the public going to any of its un-styled pages/posts/media/etc. Thus, in the Wordpress settings, we've checked the search engine visibility setting to "Discourage search engines from indexing this site"
Now, if I try to fetch and render one of the pages from our AngularJS site, Google Search Console is blocking/not rendering any of the content coming from that Wordpress site.
Can anyone help find a solution to getting Google to render this AJAX content? Once again, the Wordpress is only supposed to be a "back-end" and we DO NOT want people visiting any of its URLS. We just want to fetch the data from that back-end and render it on our AngularJS site.
Please let me know if you have any possible solutions, advice, etc.
Thank you so much!
Disallow: /
in the robots.txt file there, which disallows crawling everything, and is what the setting "Discourage search engines from indexing this site" will add to it. Again, it's hard to suggest something specific without knowing more, but modifying the robots.txt in your WordPress site to be more specific might help.