The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Ajax, SEO and Angular

    Ajax, SEO and Angular

    Technical SEO Issues
    3 2 572
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Eurasmus.com
      Eurasmus.com last edited by

      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-accommodation

      It 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?

      1 Reply Last reply Reply Quote 0
      • max.favilli
        max.favilli last edited by

        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.

        1 Reply Last reply Reply Quote 2
        • Eurasmus.com
          Eurasmus.com last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • What's the best way to test Angular JS heavy page for SEO?
            MikeTek
            MikeTek
            0
            2
            210

          • Which is better Ajax, iframe in terms of seo for my category page review section?
            wright335
            wright335
            0
            4
            200

          • Trying to ensure AJAX rendered categories remain SEO friendly.
            KristinaKledzik
            KristinaKledzik
            0
            3
            424

          • SEO impact of AJAX category on Magento website?
            Ray-pp
            Ray-pp
            0
            5
            809

          • SSl and SEO
            Bryan_Loconto
            Bryan_Loconto
            0
            3
            115

          • SEO for dsIDXpress
            0
            1
            444

          • Can anyone recommend an SEO friendly Joomla extension to use for SEO on an existing website?
            Mark_Jay_Apsey_Jr.
            Mark_Jay_Apsey_Jr.
            0
            2
            315

          • Planing Seo For New Seo
            Banar
            Banar
            0
            7
            802

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy