Javascript not working on Namecheap Host

Businessplan

Newbie
Joined
Jul 13, 2017
Messages
27
Reaction score
7
Hi guys. I have a problem for more than a week now and I dont know how to solve it.
I ripped a landingpage to test it on my namecheap website. I go to the cpanel and open the file manager. There I choose the folder with my website name (public html is only my primary website), but I want to upload the files to my second domain I bought there.

If I try the page by clicking the index file on my desktop everything works. But if I open the website in my browser all javascript files wont working. css, images, fonts are all working without a problem, but javascript doesnt want to. I tried several browsers and file permissions.

I guess the index file has to be changed. If I change the folder name of javascript (js) into something like js12345, the page wont work on my desktop. I guess my index file cant find the js file on my host. How do I change this? I even tried to change js/bootstrap.min.js into foldername/js/bootstrap.min.js but it wont work.
 
Probably a path error or file name error. Try your browser inspection tools and see of you get any errors displayed.
 
Back
Top