//create a Backbone Router var myRouter = new Backbone.Router(); //create initial route myRouter.route('','initialroute',function(){ console.log('The intital route has been invoked'); }); //tell Backbone to start listening for changes in the URL and run initial route Backbone.history.start(); //show what url looks like: $('#url span').text(window.location.href);