Ajax, SEO and Angular
-
Hi all!
We have a platform which includes a housing area which is created by ajax and angular.
You can see a sample here:
eurasmus.com/en/erasmus-antwerp/student-room-accommodationIt has a static version under which shows the first 18 rooms, the rest are generated by angular.
Also this static version has a dynamic text with around 400 characters.Is this the right procedure?
How would you suggest to do it? -
Great answer.
It makes it clear for us, concerning the tests you made it is useful for us, as we were worried about same issues.We will anyway work in providing every static page which loads first a good dynamic content rather than just a paragraph of 400 characters. But a bit by a bit.
Thank you!
-
When working with angular (or any client side js framework) and ajax you have to stick to one simple rule, load content you want to feed to google bot on first load, without requiring an ajax round trip.
So in your case those first 18 rooms description is content google crawler will eat, digest and index, all the others dynamically loading using ajax won't.
Same goes for the 400 characters, show them on first load, don't retrieve them later through an ajax call.
Keep in mind if you want to show content gradually you can just serve it on first load to the client and show it gradually through javascript with ng-cloak + ng-show/ng-hide.
One word about ng-show/ng-hide, there have been some debate (even here on MOZ Q&A) around css display: none; because John Muller and Matt Cutts stated few times google doesn't like hidden content, meaning they do not index it, and they may penalize websites for hiding content. In my opinion it was clear they were referring to navigation menu or manipulative techniques.
To quote another of Matt Cutts videos "google knows today web is dynamic and content is show and hidden by user interaction", so I didn't expect google to penalize a fari use of ng-cloak (display: none;).
But these kind of things always worries me, so I tested it on few pages with 200/300 words content, which were already indexed and ranking around top20/top10 in SERP, adding some ng-cloak content on some, removing ng-cloak and just showing the content on some other pages. The results was no change at all, they didn't move, not a single a position one way or the other.
One final notice about gradually loading more content, like in your example, additional rooms after the first 18. Of course those are not going to be indexed in that page. But here you have to think about your content strategy for that listing page, and what is important to feed to google crawler for indexing. 100 titles of rooms? Do you really expect people to reach that page searching for one of those titles? I don't think so.
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
-
SEO traffic to the homepage is down across sites
Week over week, I've noticed that organic traffic (and oftentimes revenue) for the homepage are down across most of our sites compared to last year. Brand search interest is down for a number of the brands, but in a lot of these cases, it's not down so much that it would make sense for how much the homepage is down (for example: brand search interest was down 4% last week compared to last year, but the homepage traffic was down 32% in visits). What I've done is generate entry page reports (this year vs. last year) and then bucket the pages by homepage, category pages, and product pages. In most cases, category pages are up year over year for traffic and revenue. I'm concerned that the homepage being down is more than a brand heat issue, but I haven't come across anything out of the ordinary in Google Search Console and keywords are pretty consistent in performance for the most part. Branded keywords continue to rank at #1, too. Any thoughts as to what else I can look into?
Technical SEO | | WWWSEO0 -
SEO impact of the anatomy of URL subdirectory structure?
I've been pushing hard to get our Americas site (DA 34) integrated with our higher domain authority (DA 51) international website. Currently our international website is setup in the following format... website.com/us-en/ website.com/fr-fr/ etc... The problem that I am facing is that I need my development framework installed in it's own directory. It cannot be at the root of the website (website.com) since that is where the other websites (us-en, fr-fr, etc.) are being generated from. Though we will have control of /us-en/ after the integration I cannot use that as the website main directory since the americas website is going to be designed for scalability (eventually adopting all regions and languages) so it cannot be region specific. What we're looking at is website.com/[base]/us-en. I'm afraid that if base has any length to it in terms of characters it is going to dilute the SEO value of whatever comes after it in the URL (website.com/[base]/us-en/store/product-name.html). Any recommendations?
Technical SEO | | bearpaw0 -
Domain name SEO
I would like to hear your opinion about which between robotics.kawasaki.com and www.kawasakirobotics.com is more effective for SEO of keyword robotics and kawasaki. We have been using kawasaki.com domain name for more than 15 years.
Technical SEO | | Iwashima0 -
E-ccomerce SEO conundrum
I work on the marketing for an eccomerce website. And lately we have been having an issue with the "wrong" page ranking and the right page "being nearly unfindable." For example the product bit o honey - there is a brand page, category page and individual product pages. We want the category page to be the top level bit o honey "hub" page and have placed all of the products onto it. We've written a nice description about Bit O Honey on that page and spent time running social campaigns around that page to try and get social activity on page as well. There have even been a few back links from blogs or reviews onto that category page. It also has the highest page authority among all of the bit o honey pages. But for some odd reason it is always the absolute last result among the 3 options when i search? In fact the only time I can even find it is if I type in about 3 sentences worth of text from that page and it find exact match. I'm really pretty confused as to why the highest page authority page with the most content, activity and link profile, would have the worst ranking capability among the three nearly identical pages.
Technical SEO | | Jonathan_Murrell0 -
Wordpress multisite and SEO
Newbie question. I have several keyword list I am trying to market - (My website is : http://www.soobumimphotography.com/) San Antonio wedding photographer, family photographer San Antonio sports photographer in san antonio headshot san antonio engagement photos san antonio I think it's too broad and thinking about getting separate sites for them. I know I can make urls something like this http://www.soobumimphotography.com/headshot using multisite function and planning to redirect it to www.sanantonioheadshots.com etc Is this good idea to do so? Should I get a new hosting and domain and start it all over again. Thank you
Technical SEO | | BistosAmerica0 -
Buying new domains to help with SEO
Hi, Does buying new keyword related domains and 301 redirect them to my site have any seo benefit?
Technical SEO | | Socialdude0 -
SEO Friendly Calendar System
Does anyone have a recommendation for a calendar system that is SEO friendly? I have been using Helios Calendar but the current version lacks proper SEO bones (canonical URLs, mini calendar generates links to empty events from 1950 to 2020, 302 re-directs, and it is generating thousands of crawl errors in Google Webmaster Tools. The developer has plans to implement some fixes, and I would rather not rip apart what is currently there to fix core issues. I have found that calendars in general are a nightmare. If anyone has any suggestions, or has experience in tidying up Helios I would be interested. Thanks, Dan
Technical SEO | | DanLaBate0 -
Proxy servers and SEO
I read somewhere that reverse proxys can cause issue for search engines. Our server is using SQUID. What potential issues there might be?
Technical SEO | | Jani1