需要有关超链接...或href的帮助 [英] Need help with a hyperlink...or href
问题描述
我想在用户点击按钮时重定向到某个页面....但是,用户需要重定向到的网页没有https://或www。如果我在URL前插入那些,那么它会显示一个问题....
如果我点击它而没有HTTPS它转到:
http:// localhost:52306 / Home / km.tff-data.com
并且它给出了IIS 8.0错误404找不到...
现在如果我添加https:// ...它需要我... 。
a页面找不到....
但是当我在网页上输入网址时它工作得很好...
我尝试过:
I want to redirect to a page when a user clicks on a button.... However the webpage that the user needs to be redirected to does not have an https:// or a www. If I insert those in front of the URL then it displays a problem....
If I click on it without the HTTPS it goes to:
http://localhost:52306/Home/km.tff-data.com
and it gives an IIS 8.0 Error 404 Not found...
Now if I add the https://... it takes me to...
a page not found....
however when I enter the URL into the webpage it works fine...
What I have tried:
<div class="col-md-6">
<a href="km.tff-data.com" target="_blank" class="btn btn-warning" style="width:100%; height:75px">
Delivery Matrix
</a>
</div>
<div class="col-md-6">
<a target="_blank" class="btn btn-warning" style="width:100%; height:75px">
Delivery Matrix
</a>
</div>
推荐答案
解决方案是使用Http://而不是Https://。
感谢您的帮助!
Solution was use Http:// instead of Https://.
thanks for the help!
这篇关于需要有关超链接...或href的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!