Notes. Sketches. Ideas.

Viewing all posts relating to pushstate.

In order to take advantage of HTML5’s History API, the application must ignore the URI in the http request and resolve to the root – otherwise you’ll get a 404 error. This can be an issue with a WordPress application because WordPress uses a similar technique by using either Apache or NGINX to resolve all requests to index.php, which then parses the URI and renders the corresponding page/post/archive/ect.

Read full article »