I am just getting started with emberjs/onepage apps and one thing I am not sure how to solve. I notice that many examples add the # char to the url to be able to navigate through the app. For my app I want the URL’s to look like a normal webpage without the # char, i.e. domain.com/profile/photo and not domain.com/#profile/photo. This should be possible with html5?
The second issue is how do I handle the backend requests without using the # char? If I type domain.com/profile/photo the web server will try and serve that request and not the ember app. I am guessing I will need to rewrite requests on the backend? One scenario I am thinking of doing is if a user is logged out I serve static HTML pages from the backend server. If the user is logged in I serve the emberjs app. This way my non-logged in site is crawlable by google and others. Any ideas how to make this work?