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
-
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 -
AngularJS - How does Google go?
We're rebuilding our entire website in angularJS. We've got it rendering fine in WMT, but does that mean that it's content is detectable? I've looked into prerender.io and that seems like a great solution to the problem of not seeing any static HTML, but is it really necessary? I'm looking into this as I'm having the argument currently with my devs, and they're all certain that Google renders angularJS fine.
Intermediate & Advanced SEO | | localdirectories0 -
Domain Name Switch Considering Special Circumstances
Thank you kindly for taking the time to read this. The company I work with is a wedding chapel in Las Vegas. They've had the same domain since about 2001. Their organic placement has been stellar since about 2008. With the most recent Panda update some results did slip, but they are still strong & I feel that the SEPRs that slipped will be back up shortly (hopefully!) The company recently bought the url www.VegasWeddings.com which happens to be a generic key phrase, BUT ALSO IS THE NAME OF THE BUSINESS. They want to switch, but I am in a bit of a conundrum of this. It seems really risky, but also makes a lot of sense. Help? Insight? Anything? Thank you dearly!!!
Intermediate & Advanced SEO | | leslieevarts0 -
Real Estate MLS listings - Does Google Consider duplicate content?
I have a real estate website. The site has all residential properties for sale in a certain State (MLS property listings). These properties also appear on 100's of other real estate sites, as the data is pulled from a central place where all Realtors share their listings. Question: will having these MLS listings indexed and followed by Google increase the ratio of duplicate vs original content on my website and thus negatively affect ranking for various keywords? If so, should I set the specific property pages as "no index, no follow" so my website will appear to have less duplicate content?
Intermediate & Advanced SEO | | khi50 -
Given the new image mismatch penalty, is watermarking considered "cloaking"?
Google has released a new penalty called "Image mismatch". Which actually penalizes sites that show images to Google than are not the same as the ones offered to users when accessing the site. Although I agree with those sites that the image is completely different that the one shown in image search, lately I've seen lots of big sites using some king of watermark or layer that reads something like "To see the high quality of this image, click here" in order to "force" the user to visit the site hosting the image. Considering the latest changes to Google's image search, which made lots of sites lose their "image search traffic", are these techniques considered part of the new penalty Google is applying? Or does it only apply to the first scenario when the image is completely different? You can read more on this new penalty here.
Intermediate & Advanced SEO | | FedeEinhorn0 -
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 -
Are sites that recently lost traffic considered bad neighborhood?
Hi, While searching for co-operations and guest blogging opportunities I found several sites that look legit and that lost all SE traffic (according to various tools such as SEMRush). By legit I mean sites that have PR3 and up. Have many solid looking articles and that the articles are on the site's subject and that the articles do not necessarily point to other sites with exact match anchors. Should I post in these sites or are they probably penalized and therefore being there put me at risk? Thanks
Intermediate & Advanced SEO | | BeytzNet0 -
Multiple 301 redirects considered a redirection chain?
I need to redirect a ton of duplicate content, so I want to try redirect 301 /store/index.php /store redirect 301 /store/product-old /store/product-new redirect 301 /store/product-old1 /store/product-new1 redirect 301 /store/product-old2 /store/product-new2 redirect 301 /store/product-old3 /store/product-new3 redirect 301 /store/product-old4/file.html /store/product-old4/new4/file.html and then a whole bunch of old dead links to homepage. So we've had /index.php redirected to / on other parts of the site for awhile, and for the most part /store is a friendly URL, but then we have tons of dup content and work arounds that preceded my job here. I'm wondering if those redirects above would be considered a redirection chain? Since the all the redirects below the /index.php -> /store count on that one redirect. Thanks for any insight you may be able to give!
Intermediate & Advanced SEO | | Hondaspeder1