For those not familiar with the Meteor framework, when you navigate (e.g.) using the top nav, the page changes are almost instantaneous and do not result in the typical page-changing/page-load. Of course you could accomplish this in jQuery using .load()
, but the thing about Meteor is that you could have a link on some other website to a specific page on your site, such as http://example.com/about
and Meteor will take you directly to that page. This is good for SEO purposes.
My question:
If I'm not using Meteor, how can I accomplish this instant page-switch effect, and have the URL in the address bar change, and have each page fully linkable page (not http://example.com/#about
). If I can keep it as simple as using HTML and jQuery, that would be great.
PS: If the solution involves using Apache or nginx rewrites, I'm okay with that.