Can LinkedIn crawl SPA pages?

I am using PhantomJS along with the Angular -seo package .

I managed to set it up to work with the open Facebook schedule, but it seems like LinkedIn does not support the _escaped_fragment_ format and just ignores the route after hasbang requests the index.html page of the application and not myapp.com/?_escaped_fragment_=client_side_path .

What can I do to solve it?

+6
source share
1 answer

Unfortunately, the only way to resolve this is to check the bot user agent and send it a static version. According to this , the LinkedIn bot user agent:

 LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/3.1 +http://www.linkedin.com) 
+1
source

Source: https://habr.com/ru/post/956350/


All Articles