URL Rewriting using .htaccess on Apache2 server

My guess is that it has something to do with the fact that Ember routes are really just ‘in-page’ navigation using hashes. By default Ember sets the locationType to ‘auto’ so it can be easy to forget that all of your ember routes are actually on a single HTML page loaded from a single server endpoint/address.

The url mywebsite/car?carID=1 actually maps to mywebsite/#/car?carID=1. I’m not very knowledgable about apache (we just serve from S3) and so I can’t tell you exactly what you’ll need to configure. Maybe Apache has some config options for serving a single page app, maybe you simply need to take the hash into account when you make your rewrite rules somehow, maybe you’ll need to change the locationType from ‘auto’ to ‘hash’ in your Ember config/environment.js file… I’m not really sure, sorry!

I’m guessing your issue has something to do with the single page application hash thing though.