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
-
Should we remove category paths for better SEO?
We're looking to build some serious content and capitalise on long-tail keyword traffic for our sub-category pages, example for targeted keyword "designer dining tables". Example of current link: www.website.com/designer-furniture/designer-dining-tables.html Would removing the category paths help? Example result - www.website.com/designer-dining-tables More user friendly URLs and better for SEO would you suggest? The only problem is, if we removed the paths would this have a hit on our traffic? Any advice would be much appreciated. We are using Magento platform.
Technical SEO | | Jseddon920 -
SEO impact classifieds website
Hi, I'm part of an organization running a classifieds platform in Spain. (Mercadonline.es) We are hit by Google penalties since a few weeks, possibly caused by numerous errors we are experiencing. Most frequent errors are 404's and duplicate content (titles tags etc) since the nature of our website is dynamic. Many ads change daily, are added or removed, causing Googlebots (and others) to flag us and not being able to see our more unique content. Until what part of our platform should we be indexed? Since we have +34,000 pages indexed (mostly due to internal filter pages) I would need a systematic solution for us to display relevant and unique content, with enough usage of keywords that can bring us back up - we are actually ranked <50 on google for most of our main keywords. It is costing us precious time and money since we can only aquire our visitors (adwords etc) and not being to attract any organically. I can go in more detail with someone who can give me a bit more direction. Your answer is much appreciated! Ivor
Technical SEO | | ivordg0 -
Homepage 301 and SEO Help
Hi All, Does redirecting alternate versions of my homepage with a 301 only improve reporting, or are there SEO benefits as well. We recently changed over our servers and this wasn't set-up as before and I've noticed a drop in our organic search traffic. i.e. there was no 301 sending mywebsite.com traffic to www.mywebsite.com Thanks in advance for any comments or help.
Technical SEO | | b4cab0 -
Should i put an introduction on my site for better seo
Hi, my site is www.in2town.co.uk and we have been having serious problems with our site since our upgrade. Before the upgrade, our site was on the first page of google for many years and most of them we were in the top three, now however since the upgrade of our site we have had serious problems. The main keyword for our site was lifestyle magazine, but now after checking this keyword we are now on page 12, this has gone down over the past couple of days. we had an introduction and information about our magazine on the home page, trying to rank for the keyword lifestyle magazine, we were jumping from page nine to six to ten, we took the intro off as a developer said that we had done enough to rank well for the keyword without putting any text with the keyword on our site, but since taking it off, we have dropped down more in the rankings. I would love to hear from people on their thoughts on this and if we should put back the intro at the top or where they feel we should put it and should we put about the magazine at the bottom. I was always taught, if you want to rank well for a keyword then as well as doing all the linking, you also need to make sure you optimize the page with the keyword looking forward to hearing your thoughts on this
Technical SEO | | ClaireH-1848860 -
Duplicat content affecting SEO Rankings
We have one main site called buypropertyanywhere, it is a database it holds all the data for all our property websites. One of our most popular sites is housesalesbulgaria, which takes the data from buypropertyanywhere in regards to bulgarian property and display it. The same with housesalesturkey it takes the data in regards to turkish property and display it. We think because buypropertyanywhere and housesalesbulgaria has the same data it has high duplicate content . We think this is affecting the SEO rankings for housesalesbulgaria. Google is looking at housesalesbulgaria as if a copy of buypropertyanywhere. So therefore should we SEO buypropertyanywhere soley and link it to housesalesbulgaria through the articles and content we put on the site. Thanks in advance for any advice.
Technical SEO | | Feily0 -
SEO mark-up language
Hi there, i have been looking into schema and noticed some articles on it recently too. Who here has used schema/mark-up language in their code? I heard Google will be looking for at this soon to interpret data better. Is it schema .org where i can get the code information from? Any help much appreciated.
Technical SEO | | pauledwards0 -
Pintrest SEO
Has any testing been done to determine if Pintrest helps a website ranking?
Technical SEO | | StreetwiseReports0 -
Need advanced SEO help!
Hi guys, This is my last attempt to work out what is up with this site before it goes to the big Flipper in the sky (and even then I doubt it will make much more than £1!) This site was a successful site, then one day Google decided it didnt like it, and I have not had much joy with it for nearly a year now. I must admit I tried to forget about it for a while, but it has always been a thorn in my side due to the fact it used to be a nice little earner. I have SEOmoz crawled it and I cant find any issues that would cause such a severe penalty, I removed many of the affiliate links, clocked the rest of the affiliate links and tried numurous other ideas, but now, as a last ditch attempt I am looking for some help! I tried to avoid the typical thin affiliate site by adding relevant content, but I have seen sites with much poorer design and content rank higher than this one. Any ideas welcome! Thanks in advance My site
Technical SEO | | mozUser14692366292850