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
-
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 -
What things should I consider if I am doing a 301 redirect on only 1 page/blog post?
I wrote a blog post on one of my websites and it got picked up by reddit and I got a bunch of nice backlinks and now that website got a nice boost overall, and especially that blog post page. I now wish I would have posted the article on a different website of mine. I would prefer if this other site was getting the traffic and the good backlinks that I've acquired. What are the pros and cons if I move the content over to my other website, and 301 redirect just that one article to the article location on my other website? The blog post I wrote almost instantly began ranking for certain terms in Google. Ideally I would like my other website to rank for those terms, but I realize there will be some differences as search engines look at the website as a whole and take many factors into consideration. I know there are tons of case studies and information about moving entire sites etc but I couldn't find much on this. Any advice, questions or comments would be greatly appreciated. Thanks,
Intermediate & Advanced SEO | | bradbowman
Brad0 -
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 -
How complex or what to consider when moving from a .aspx webdeveloper to my own wordpress.org website?
Basically my current web developer is not providing me with what a modern website should need to fully utilize online marketing and SEO in terms of blogging, social media widgets, e-commerce and so on. Because of this I have thought of moving to a wordpress.org website run and built by myself. Is this a good idea? What is the best way to migrate and save existing authority (Re-directs etc)? Is there any potential risks or problems that I could encounter that aren't immediate obvious? Many thanks! Tom
Intermediate & Advanced SEO | | CoGri0 -
Why are these pages considered duplicate content?
I have a duplicate content warning in our PRO account (well several really) but I can't figure out WHY these pages are considered duplicate content. They have different H1 headers, different sidebar links, and while a couple are relatively scant as far as content (so I might believe those could be seen as duplicate), the others seem to have a substantial amount of content that is different. It is a little perplexing. Can anyone help me figure this out? Here are some of the pages that are showing as duplicate: http://www.downpour.com/catalogsearch/advanced/byNarrator/narrator/Seth+Green/?bioid=5554 http://www.downpour.com/catalogsearch/advanced/byAuthor/author/Solomon+Northup/?bioid=11758 http://www.downpour.com/catalogsearch/advanced/byNarrator/?mediatype=audio+books&bioid=3665 http://www.downpour.com/catalogsearch/advanced/byAuthor/author/Marcus+Rediker/?bioid=10145 http://www.downpour.com/catalogsearch/advanced/byNarrator/narrator/Robin+Miles/?bioid=2075
Intermediate & Advanced SEO | | DownPour0 -
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 -
Guest posts/article marketing can be considered as paid posts by SEs?
Hi, Guest posting/article Marketing is a major part of our link building strategy. Normally we get one or two links for our site and one or two links to other authority sites(relevant). Some time author bio is not published with article or even not mention that this is a guest post. ( I know that we get just link and missed the other advantages of guest if author bio isn't mention) Is this a good practice especially when some posts are published on low quality blogs? SEs can be considered these as paid posts? What will be the better way to do this? Thanks Alex
Intermediate & Advanced SEO | | alexgray0 -
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