some HTML links not working on server

拟墨画扇 提交于 2019-12-12 06:18:39

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!