I have an issue where my site doesn't load unless the user enters www
. For example, if the user enters mysite.com (as opposed to www.mysite.com, or http://www.mysite.com), then my site only partially loads. I suspect this is either an issue with my use of angularjs or angular ui-router. My site has an html wrapper template that is used on every page. That is what is being loaded if the user doesn't enter www
, but the template partial that should be inserted into that particular page isn't being loaded unless www
is entered. For example, www.mysite.com/page would consist of my html wrapper template AND a page.html template partial that is supposed to be inserted into the html wrapper template, but page.html is only being loaded if the user enters www
. Any ideas?
Asked
Active
Viewed 42 times
0

Chris Paterson
- 1,129
- 5
- 21
- 31
-
This is probably related to your web server configuration. Can you look in the browser debugger and see what HTTP calls are failing? – Geoff Genz Feb 22 '14 at 16:43
-
As a side note, it's not a good idea to use both domains: http://stackoverflow.com/a/1109362/784331 – Bugs Feb 22 '14 at 16:59
-
The problem is that USERS will use both domains, sometimes entering mysite.com and sometimes entering www.mysite.com. – Chris Paterson Feb 22 '14 at 19:08