Is SEO as Effective on AJAX Sites?
-
Hey Everyone,
I had a potential client contact me about doing SEO for their site and I see that they have an AJAX site where all the content is rendered dynamically via AJAX. I've been doing SEO for years, but never had a client with an AJAX site. I did a little research and see how you can setup alternative pages (or snapshots as Google calls them) with the actual content so the pages are crawlable and will get indexed, but I'm wondering if that is as effective as optimizing static HTML pages or if Google treats AJAX page alternatives as less trustworthy/valuable.
Also, does having the site in AJAX effect link building and social sharing? With the link structure, it seems there could be some issues with pointing links and passing link juice to internal pages
Thanks!
Kurt
-
To avoid any risk of being penalized you need to be very careful to do not cloak. For example, in my experience if you tweak content serving different version of the page to javascript enabled browser and browser without JS is fine. But if you change something when you detect the http request is coming from googlebot, even if you change just a title, google gets very very angry.
Link building is not affected, do not encourage people to link using hashbang.
I don't remember about canonical, I don't think so, but just check the google docs I linked earlier.
But, as I said earlier, I strongly suggest to do not use hashbang, and redesign the app to use ajax the way I described earlier.
-
Thanks Max.
So, as long as I optimize the content, especially in the alternative HTML version of the page, there shouldn't be any negative effects for rankings, correct?
Does it affect link building to internal pages? Would I encourage people to link to/share the nicer URLs with #! or the escaped_fragment URLs? Do I need to setup canonical tags for the escaped_fragment URLs?
Thanks.
Kurt
-
Hashbang is a thing of the past.
Google became pretty good at executing JS as explained by Matt Cutts in one of his video.
But a part from google juggling with JS...
What you need to do is design the server “served” page optimizing it for SEO, loading with server side technology all the data you want to be indexed for, and loading with ajax the data you don't care about being indexed for. Loading doesn't mean display, you load the content on the page with server side technology, and you use client side technology to show and hide according yo users interactions with you UX.
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
-
Javascript and SEO
I've done a bit of reading and I'm having difficulty grasping it. Can someone explain it to me in simple language? What I've gotten so far: Javascript can block search engine bots from fully rendering your website. If bots are unable to render your website, it may not be able to see important content and discount these content from their index. To know if bots could render your site, check the following: Google Search Console Fetch and Render Turn off Javascript on your browser and see if there are any site elements shown or did some disappear Use an online tool Technical SEO Fetch and Render Screaming Frog's Rendered Page GTMetrix results: if it has a Defer parsing of Javascript as a recommendation, that means there are elements being blocked from rendering (???) Using our own site as an example, I ran our site through all the tests listed above. Results: Google Search Console: Rendered only the header image and text. Anything below wasn't rendered. The resources googlebot couldn't reach include Google Ad Services, Facebook, Twitter, Our Call Tracker and Sumo. All "Low" or blank severity. Turn off Javascript: Shows only the logo and navigation menu. Anything below didn't render/appear. Technical SEO Fetch and Render: Our page rendered fully on Googlebot and Googlebot Mobile. Screaming Frog: The Rendered Page tab is blank. It says 'No Data'. GTMetrix Results: Defer parsing of JavaScript was recommended. From all these results and across all the tools I used, how do I know what needs fixing? Some tests didn't render our site fully while some did. With varying results, I'm not sure where to from here.
Intermediate & Advanced SEO | | nhhernandez1 -
Mobile Site Annotations
Our company has a complex mobile situation, and I'm trying to figure out the best way to implement bidirectional annotations and a mobile sitemap. Our mobile presence consists of three different "types" of mobile pages: Most of our mobile pages are mobile-specific "m." pages where the URL is completely controlled via dynamic parameter paths, rather than static mobile URLs (because of the mobile template we're using). For example: http://m.example.com/?original_path=/directory/subdirectory. We have created vanity 301 redirects for the majority of these pages, that look like http://m.example.com/product that simply redirect to the previous URL. Six one-off mobile pages that do have a static mobile URL, but are separate from the m. site above. These URLs look like http://www.example.com/product.mobile.html Two responsively designed pages with a single URL for both mobile and desktop. My questions are as follows: Mobile sitemap: Should I include all three types of mobile pages in my mobile sitemap? Should I include all the individual dynamic parameter m. URLs like http://m.example.com/?original_path=/directory/subdirectory in the sitemap, or is that against Google's recommendations? Bidirectional Annotations: We are unable to add the rel="canonical" tag to the m. URLs mentioned in section #1 above because we cannot add dynamic tags to the header of the mobile template. We can, however, add them to the .mobile.html pages. For the rel="alternate" tags on the desktop versions, though, is it correct to use the dynamic parameter URLs like http://m.example.com/?original_path=/directory/subdirectory as the mobile version target for the rel="alternate" tag? My initial thought is no, since they're dynamic parameter URLs. Is there even any benefit to doing this if we can't add the bidirectional rel="canonical" on those same m. dynamic URLs? I'd be immensely grateful for any advice! Thank you so much!
Intermediate & Advanced SEO | | Critical_Mass0 -
SEO for 1,000,000 page site
Dear All, I hope you can help me with another question about doing SEO for a large site: 1 - My domain is 11 year old, all time was a parking domain
Intermediate & Advanced SEO | | SteveTran2013
2 - We have 10,000 articles - unique content (500-1500 words)
3 - the remaining are automated content, however, they are also unique with data (numbers, figure) We are going to launch it in 2 weeks, and intend to do the following things: Stage 1: first 2 months - only post 10,000 articles with unique content, NO using automated ones.
Link building: get 5-10 authority links pointing to it, either article writings or link pages (authority links Yahoo directory/Dmoz) Stage 2: month 3 to 6: gradually put the automated content online while still posting unique and well written articles.
Link building: Start building links with PR websites, article submission. Do you think there are any problems with this plan? and if 5-10 links can improve our site ranking, given it has a lot of unique content? Thank you very much. BR/Tran1 -
Hosting Providers and SEO
I have been wondering for a while which web host provider is the best for SEO purposes? Things to consider. Shared Hosting vs Dedicated Server Location of the Host Provider Site Up Time One question that I have been thinking about is what impact would changing a host provider have on a websites serps ranking? Is there a possible negative impact and if so how can it be avoided? Name the top 3 Web Hosts for SEO.
Intermediate & Advanced SEO | | bronxpad0 -
What next with SEO
I've been working on my site for over 2 years and have some very good links and now have a PageRank 4. My site has fallen down from page 1 to page 4 for 'Web Design London' which may be due to not putting much work into link building in the last 6 months. The site is pretty well optimised onsite but there are less that 20 pages of content. With time constraints in place because I have to run the business, would it be better to increase the content, seek out more links or outsource the work. Ideally I would do both but money and time restrict this. If I was to outsource, do you have recommendations and rough prices? Thanks
Intermediate & Advanced SEO | | wpwebdesignlondon0 -
Web site Migration from one server to another does cause any impact in SEO rankings?
Dear Seomoz members, We are going to migrate our website to different server location(new data center). does this impact on our SEO rankings? If so what and all checklist i have to do....to retain my SEO rankings. Regards, kathiravan subbiah Caratlane.com
Intermediate & Advanced SEO | | kathiravan0 -
Badges For a B2b site
love this seo tactic but it seems hard to get people to adopt it Has anyone seen a successful badge campaign for a b2b site? please provide examples if you can.
Intermediate & Advanced SEO | | DavidKonigsberg0 -
Page load increases with Video File - SEO Effects
We're trying to use a flash video as a product image, so the size increase will be significant. We're talking somewhere around 1.5 - 2mb on a page that is about 400kb before the video. So the increase is significant. There is SEO concern with pages peed and thinking perhaps having the flash video inside an iframe might overcome the speed issues. We're trying to provide a better experience with the video, but the increase in page size, and therefore speed, will be significant. The rest of the page will load, including a fallback static image, so we're really trying to understand how to mitigate the page load speed impact of the video. Any Thoughts?
Intermediate & Advanced SEO | | SEO-Team0