+2 votes
1 view
in Web Technology by (47.8k points)

I see two issues with AngularJS application regarding search engines and SEO:

1) What happens with custom tags? Do search engines ignore the whole content within those tags? i.e. suppose I have

<custom> <h1>Hey, this title is important</h1> </custom>

would <h1> be indexed despite being inside custom tags?

2) Is there a way to avoid search engines of indexing {{}} binds literally? i.e.


I know I could do something like

<h2 ng-bind="title"></h2>

but what if I want to actually let the crawler "see" the title? Is server-side rendering the only solution?

1 Answer

+2 votes
by (107k points)
edited by
  • Unfortunately, if you want to optimize your app for search engines there is no way around serving a pre-rendered version to the crawler.
Looking for Angularjs material from basics! Refer to this video on Angularjs provided by Intellipaat:
  • To know more about this you can refer to this article which tells about how to do SEO for Angular with server-side rendering.

Related questions

0 votes
1 answer
+2 votes
2 answers
0 votes
1 answer
asked Aug 31, 2019 in Web Technology by Sammy (47.8k points)
+2 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !