angular-seo | This project was generated with Angular CLI version | Generator Utils library
kandi X-RAY | angular-seo Summary
kandi X-RAY | angular-seo Summary
This project was generated with Angular CLI version 6.1.5.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of angular-seo
angular-seo Key Features
angular-seo Examples and Code Snippets
Community Discussions
Trending Discussions on angular-seo
QUESTION
We at work just started re-architecture of our application, so we need SEO support for single page application which we gonna build with Angular 2/4.
Based on R&D on internet we found that angular universal is pretty cool. It solves our problem for server side rendering for static data as well AJAX called data.
But this ajax called data only made available when services are being called at the start of the component(in NgInit more precisely). But when we make changes any further like searching for some products then the dynamically generated data won't be available in view page source hence it won't be available for google bot or other crawlers also.
Angular Universal provides a simple example with server side rendering here.
If somebody has done this before please try and answer.
It would be great if nobody marks it as off topic or spam because I have seen many questions in SO but none of them answers my problem here.
Few work around
...ANSWER
Answered 2018-Feb-08 at 11:48Just to put up a answer for people who are going through same issue.
In this question I was facing problem getting view source for dynamically generated data, I was working on a ecommerce site that time so, when user do some filtering, the dynamiclly generated data was not getting crawled, What I did was I changed the url of the page on the filters, now if google does want to crawl my page it'll get the latest and real data in source.
Example: If my URL was this www.shop.com/dresses
and i done some filtering so the url look like this now
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install angular-seo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page