问题
I've just uploaded my HTML/CSS website to my new hosting. Locally all links are working fine. But on server all links to the images and some links to .html documents that are deeper in folders don't work.
For example from index.html: the link to kategorii/oblekainakit.html is working.
<a href="kategorii/oblekainakit.html"></a>
but the link:
<img class="port-img" src="kategorii/oblekainakit/oblekainakit.jpg">
is not working!
also when the .html document is two folders deeper the links to js/css are not working and i'm using "../../" for every link but with no results.
Can you please help me (the domain is www.bizniskatalog.mk).
Thanks
回答1:
I found the solution.
When the files are uploaded it is important if the files are with CAPS or not. Locally it doesn't matter but when on server somehow it does.
来源:https://stackoverflow.com/questions/29567310/some-html-links-not-working-on-server