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
-
Rebranded Website Uses a Forward Slash /at End of URS-Is This Considered a Redirect?
Our website was rebranded and relaunched. The old site did not use a / at the end of the URL. The site uses a forward slash at the end of the URL. My developer claims that this makes no difference, that in Google's eyes this is meaningless. My concern is that link juice will be lost because this necessitates a redirect. Links that were developed in the last few months now are redirected to the identical domain, but with a backslash at the end. Is this something to be concerned about or is it meaningless? Thanks,
Intermediate & Advanced SEO | | Kingalan1
Alan0 -
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 -
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 -
- Truth ? ''link building isn't considered a suitable way of promotion as per recent search engine updates''
I need SEO. A SEO consultant said: ''link building isn't considered a suitable way of promotion as per recent search engine updates'' they mention: ''Therefore we would be undertaking a range of promotional exercises such as blog postings, social book marking, press release, etc that are more effective for ensuring best possible rankings for the website.'' Do you agree? Thank you
Intermediate & Advanced SEO | | BigBlaze2051 -
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 -
What would you consider an over optimized title tag? [examples included]
Say you want to target a single page for 2 terms and they both get a good amount of search volume. At the same time you don't want the title tag to be atrocious, do you just choose one? (maybe the one with most search volume). I'm going to make up some examples which aren't based on real search volume for the sake of time and completely fake and you be the judge: custom car parts - exact sv: 4000
Intermediate & Advanced SEO | | Hyrule
personalized car parts - exact sv: 5000
wholesale custom car parts - exact sv: 4400 Title tag A: Custom Car Parts - Personalized Wholesale Car Parts | Company Name OR Title Tag B: Custom Car Parts | Company Name Or You recommend. Do you get where i am going here? Some of the pages on my website target 3-4 terms that mean exactly or pretty close to the same thing.0 -
How do I presuade Google to re-consider my site?
A few weeks ago I got an emai from Google that my site is suspected to violating Google guidelines-->suspected links manipulationg Google Page rank. My site dropped to the second page. I have contacted some of the top webmasters who link to me and they have removed the links or added a nofollow. When I asked for re-consideation I got an answear that there are still suspected links. What do I do now? I can't remove all of my links?! BTW this happened before the offical Pinguin Update.
Intermediate & Advanced SEO | | Ofer230