Latest Best Practices for Single Page Applications
-
What are the latest best practices for SPA (single page application) experiences?
Google is obviously crawling Javascript now, but is there any data to support that they crawl it as effectively as they do static content?
Considering Bing (and Yahoo) as well as social (FB, Pinterest, etc) - what is the best practice that will cater to the lowest-common denominator bots and work across the board?
Is a prerender solution still the advised route?
Escaped fragments with snapshots at the expanded URLs, with SEO-friendly URL rewrites?
-
Escaped fragments are not recommended by Google anymore. Google now recommends Progressive Enhancement such as the History API pushState. See this article for details:
https://googlewebmastercentral.blogspot.com/2015/10/deprecating-our-ajax-crawling-scheme.html
Here's another post that you may want to check out:
https://builtvisible.com/javascript-framework-seo/
-Dan
-
Maybe this will help. iProspect has a solution using jQuery. I haven't tried it myself. Perhaps others can chime in and offer an opinion.
-
It's always hard to do something with one page, especially if its written in JavaScript.
You can take a look at this amazing guide about JavaScript, Indexing and Crawling.
I hope it helps.
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
-
Why is Page Authority dropping?
Hi I'm trying to review pages which have previously ranked, but in March have dropped out completely. Some of these pages I can see have dropped to having a Page Authority of 1, we haven't changed anything on these pages, so is there a reason why the authority has dropped? These pages only had around 8 - 10 Page Authority to begin with. I'm trying to identify why we have lost keywords, and if it has anything to do with the Google Updates in March Here are examples of the pages with drops: http://www.key.co.uk/en/key/heavy-duty-shelving-1830x1830mm-blue-orange
Algorithm Updates | | BeckyKey
http://www.key.co.uk/en/key/metal-feet-for-heavy-duty-steel-shelving
http://www.key.co.uk/en/key/health-and-safety-law-poster-a2 Thank you!0 -
Do pages with canonicals need meta data?
Page A has a canonical to Page B. Should Page A have meta data values such as description, keywords, dublin core values, etc.? If yes, should the meta data values be different on Page A and Page B?
Algorithm Updates | | Shirley.Fenlason1 -
Best and easiest Google Depersonalization method
Hello, Moz hasn't written anything about depersonalization for years. This article has methods, but I don't know if they are valid anymore. What's an easy, effective way to depersonalize Google search these days? I would just log out of Google, but that shows different ranking results than Moz's rank tracker for one of our main keywords, so I don't know if that method is correct. Thanks
Algorithm Updates | | BobGW0 -
Product Listing Pages
Hi I had a question regarding product pages and the best way to display the page for SEO. For example, is it best to have a page for - Blue Euro Containers including a table of the capacity options you can buy.. Or, have each product split out so it has it's own product page - 60L Blue Euro Container, etc etc I know a lot of the information will be fairly similar, with the capacity being the one major difference - is this a bad thing? Some of our product tables are too big and the idea was to split them out. Thanks!
Algorithm Updates | | BeckyKey0 -
How is best to use Permalinks for Wordpress /category/postname or /postname
Hello , I have a question Regarding the Permalink structure form Wordpress ,I am trying to figure out what would be the best structure of the blog post link ,for the moment I am using the structure example.com/postname and I changed the structure to example.com/category/postname ,redirected with 301 the old links to the new links and I thought about it and wanted to ask , I would really appreciate if you could tell me what is best form SEO point of view to do. Regards,
Algorithm Updates | | anitawapa0 -
On-page Optimization
Hi, I have two campaigns and neither have any statistics for on-page optimization. Am I doing something wrong or how do I make these stats appear? I would like to improve my website. Thank you in advanced for any pointers or shared experience you may give me!
Algorithm Updates | | Pixeltistic0 -
Why would Google read different pages to rank for a keyword?
I have noticed a large drop in a number of keywords in the latest rankings report. I have checked the results on the 'Ranking History Graph' and it appears that Google is reading different pages for the specific keyword and therefore, giving large fluctuations in ranking dependant on the page from week to week. Why would this be happening?
Algorithm Updates | | Benjamin3790