Question

For example - I added /slots and put all of the contents of the website there but it is showing as a directory tree not as the functioning website.

http://sharedsquared.org/slots/

I have done this before successfully, I thought I just added the folder to the directory and it worked.

Was it helpful?

Solution

Your CSS and JS code are not loading. In Chrome, open developer tools, and see the Javascript console. You're getting 3 404 errors. Your application is in a folder /slots, change the path to your css and js files to:

/slots/Content/reset.css  
/slots/Content/slots.css  
/slots/scripts/slots.js 

or:

./Content/reset.css  
./Content/slots.css  
./scripts/slots.js 

-Jim

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top