AngularJS - What To Consider?
-
Hi all,
I have a website which is going to be rebuild in AngularJS. It's a massive website that recieves a lot of traffic. As I am new to AngularJS and with less programming knowledge, I am not 100% confident about how to go about it.
I am requesting MOZers to please point me in the right direction to get the SEO right. What are the things to take care of? How it will impact the search engine rankings etc.
-
While developing that new website with angularjs you need to keep in mind SEO and what crawlers do.
Put it in a simple way, you should always render the page server side at first load in a crawler friendly way, and use angular client side for UX.
To use AJAX to load content is bad for seo no matter what js framework/library you use, from old jquery to angular or react it's always the same story, don't load SEO valuable content through ajax, or crawlers will likely totally ignore it.
So, secure you are giving visitors and crawlers valuable SEO content right away on first load, server side, and use angular to manipulate it according to user actions.
And while doing that, don't be tempted to cloak, or google axe will hit you.
I have been developing websites using angularjs for years now, and always got great SEO results.
Good luck.
-
A few things:
- One way to aid you in ensuring search engines can actually properly index your angular website would be to use a service such as https://prerender.io/ - like many have before you.
- Another good resource with some examples of the roadblocks you might face: https://builtvisible.com/javascript-framework-seo/ - this will also outline some recommendations of how to tackle these issues.
- Compared to the typical HTML site, it will certainly be far more difficult. It will be doable, as long as one thing is done: test, test......and test.
-
Rebuilding in Angular will effective nuke all search visibility of this site. I'm not kidding. You can see similar question here:
https://moz.com/community/q/index-problemand answers there. Just open site in this question and see it's source (not DOM! Just HTML source that bot get). And you also will be shocked.
PS: I'm not saying that site with Angular can't rank and index. But it's relative harder comparing with pure HTML site.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is this considered Black Hat?
So here is the website I’m looking at, it ranks #1 in keywords like used cars for sale billings mt, etc. I was trying to figure out how, because there is no content on the page! I am working on one of our sites to get it to rank better when I found this in my research. #1 http://prntscr.com/aoy0ho So I did a “view page source” to see how many times they’re using keywords and what they’re title and description tags are. #2 http://prntscr.com/aoy0w1 WAIT WHAT…. WHERE IS THIS CONTENT?! #3 http://prntscr.com/aoy13o Then I found it… #4 http://prntscr.com/aoy1e8 #5 http://prntscr.com/aoy1o8 #6 http://prntscr.com/aoy1u1 It doesn’t even read like real content. This has to be considered poor form. I'm not sure why it makes me so angry. What do you guys think?
Intermediate & Advanced SEO | | rachaelpracht1 -
Would you consider this thin content?
Just wondering what the community thinks about the following URLS and whether they are essentially thin content that should be handled through a canonical, noindex or a parameter filtering system: https://www.adversetdisplay.co.uk/products/3x1-popup-exhibition-stand https://www.adversetdisplay.co.uk/products/3x2-popup-exhibition-stand https://www.adversetdisplay.co.uk/products/3x3-popup-exhibition-stand https://www.adversetdisplay.co.uk/products/3x4-popup-exhibition-stand https://www.adversetdisplay.co.uk/products/3x5-popup-exhibition-stand
Intermediate & Advanced SEO | | ColinDocherty0 -
Is a link inside a video player considered an inbound link from the domain the player is embedded in?
Good afternoon...We just added a link to our homepage inside the menu of our video player. In the link below, if you click on the menu icon in the bottom right corner of the video player, you'll see a "Powered by WellcomeMat" link at the bottom of the menu. http://www.wellcomemat.com/video/kt216e25172416n/-Rancho-Santa-Fe/Ca/92067/16596-Via-Lago-Azul/1234567890/ My question for the community is would that link be considered an inbound link from any site that has the video player embedded? So hypothetically, the video player is embedded into www.abcd.com. If a user would click on that link and go to our homepage, would search engines recognize that as an inbound link from abcd.com, even though it sits within our video player? And most of the time, the player sits within an iframe. So that's why I'm not 100% sure. Thanks for reading and for your help! It's much appreciated!!
Intermediate & Advanced SEO | | brian7201 -
When does it make sense to make a meta description longer than what's considered best practice?
I've seen all the length recommendations and understand the reasoning is that they will be cut off when you search the time but I've also noticed that Google will "move" the meta description if the search term that the user is using is in the cached version of the page. S I have a case where Google is indexing the pages but not caching the content (at least not yet). So we see the meta description just fine on the Google results but we can't see the content cache when checking the Google cached version. **My question is: **In this case, why would it be a bad idea to make a slightly lengthier (but still relevant) meta description with the intent that one of the terms in that description could match the user's search terms and the description would "move" to highlight that term in the results.
Intermediate & Advanced SEO | | navidash0 -
Pages are being dropped from index after a few days - AngularJS site serving "_escaped_fragment_"
My URL is: https://plentific.com/ Hi guys, About us: We are running an AngularJS SPA for property search.
Intermediate & Advanced SEO | | emre.kazan
Being an SPA and an entirely JavaScript application has proven to be an SEO nightmare, as you can imagine.
We are currently implementing the approach and serving an "escaped_fragment" version using PhantomJS.
Unfortunately, pre-rendering of the pages takes some time and even worse, on separate occasions the pre-rendering fails and the page appears to be empty. The problem: When I manually submit pages to Google, using the Fetch as Google tool, they get indexed and actually rank quite well for a few days and after that they just get dropped from the index.
Not getting lower in the rankings but totally dropped.
Even the Google cache returns a 404. The question: 1.) Could this be because of the whole serving an "escaped_fragment" version to the bots? (have in mind it is identical to the user visible one)? or 2.) Could this be because we are using an API to get our results leads to be considered "duplicate content" and that's why? And shouldn't this just result in lowering the SERP position instead of a drop? and 3.) Could this be a technical problem with us serving the content, or just Google does not trust sites served this way? Thank you very much! Pavel Velinov
SEO at Plentific.com1 -
Showing specific info just for our own IP. May google consider this cloaking?
I want to show some additional info on our website that will only be visible to the IP address of our office. Do I need to be concerned that google may consider this cloaking?
Intermediate & Advanced SEO | | lcourse0 -
Are Dated News Considered Low Quality Content?
I've got lots of news posts on my blog. There is nothing wrong with the news posts themselves but older posts do get lower CTR and higher bounce rates. I was considering moving the older news to a subdomain (ie.: archive.mywebsite.com) and do a 302 redirect for each post. What do you think?
Intermediate & Advanced SEO | | sbrault740 -
Site has no SEO done on it. It wasn't considered during design. What to do first ?
They opted for videos to explain to people what the website is about, but it ain't working for them. What steps would you take in order to get this site to rank higher without completely changing the design(changing design is out of the question they are low on funds). They also built a blog on wordpress.com and added a .me domain to it. For obvious reasons I'm not mentioning the website.
Intermediate & Advanced SEO | | ternit0