framework7

Open full view…

Navigation Doesn't Work?

kenatmxm
Wed, 14 May 2014 21:20:24 GMT

I downloaded Framework 7 and deployed the sample project in "dist" as a static site to Heroku, but when I attempt to visit any page other than index.html (e.g., by clicking "About," "Services," or "Form"), another instance of index.html is loaded instead of the page that is supposed to load. Typing in the URL directly also loads up a copy of index.html. I'm fairly sure that I made no changes to any of the files, so I am very confused. Here is the site: http://mxm-ny-static.herokuapp.com/

Vladimir Kharlampidi
Wed, 14 May 2014 21:26:21 GMT

That is something wrong with your hosting, it is always response with index.html file. Try even not exist page:) http://mxm-ny-static.herokuapp.com/bla-bla.html

kenatmxm
Wed, 14 May 2014 21:31:47 GMT

Thank you! Any suggestions how I might go about asking about this on the Heroku forum? Not sure if there is a better way to phrase my problem than "only page that loads is index.html."

Vladimir Kharlampidi
Wed, 14 May 2014 21:34:21 GMT

Yes, this would be a correct question “only page that loads is index.html.”. But I also see that you seems to be use Ruby server, this could be related to problem

kenatmxm
Thu, 15 May 2014 18:44:35 GMT

That was the issue! Switched to a PHP server and now it works perfectly.