Saturday, 1 June 2013

File paths not working when hosted

File paths not working when hosted

I have a made a site which i was testing with XAMPP locally while building. The site was in a folder in the root. (htdocs/site). Locally it runs perfectly. I then hosted the site, still in a folder off the root folder (public_html/site).
But now there is no css or jquery working. I am using a temporary domain until i fix the site, and when I use this temp url in the directory for the CSS it partially works. I have tried changing the location of the JQuery library (JQuery hosted/Google etc) and it still doest work. I deleted the temp URL but will create another one to help visualise this issue.
To summarise, images, CSS, JQuery and includes are all not working. Any help would be great!

No comments:

Post a Comment