Skip to content

laukstein/ajax-seo

Repository files navigation

Ajax SEO crawlable webapp framework with boosted UX.
Demo https://lab.laukstein.com/ajax-seo

as { // Readable API
    // Active link DOM Element
    activeElement: a.active,

    // Google Analytics ID (optional)
    analytics: "UA-XXXX-Y",

    // Respect user agent DNT
    dnt: true,

    // Google Analytics domain (optional)
    domain: "laukstein.com",

    // Detect if shown error page
    error: false,
    
    // Oldest supported browsers IE11 and Android 4.3
    isSupported: true,

    // Project root
    origin: "https://lab.laukstein.com/ajax-seo",

    // Current page title
    title: "History",

    // Current page URL
    url: "https://lab.laukstein.com/ajax-seo/history",

    // Ajax SEO version
    version: "6.0.0",

    // Maximal width of device adaptation
    viewportWidth: 720
}

Quick start

  1. Download the recent code
  2. Extract on compatible Web server
  3. Open in browser and setup settings

Here, <a href=history>History</a> requests API api/history.

Minimum server requirements Apache 2 + mod_rewrite, MySQL 5, PHP 5.2.
Recommended settings in ~config.
Place robots.txt and humans.txt in website root.

Benifits

  • Cross-platform
  • W3C cutting-edge standards
  • Native HTML5.1 APIs, Microdata, JavaScript
  • SEO accessible, crawlable and indexable
  • HTML auto minify, Grade-A performance, security and usability
  • Simple, responsive, intuitive, maintainable
  • Future plans

Techniques

  • No-dependency
  • no-www domain
  • HTTPS-Only Standard
  • Respect DNT (Do Not Track)
  • Anonymize IP in Google Analytics
  • Protocol-relative URL RFC 3986
  • SEO URLs, lowercasing and gibberish cleanup
  • Performance tuning in front end and back end
  • Avoid outdated browser support

Legacy browser support in earlier releases.

License

Released under the ISC License.