开发者

<a href ="somewebsite.com"> takes to localhost/somewebsite.com , Why?

开发者 https://www.devze.com 2022-12-15 01:33 出处:网络
I wantto open somewebsite.开发者_Python百科com , but it goes to localhost/somewebsite.com , why its taking relative path.Your link is missing the protocol at the start of the URL: http:// for pages no

I want to open somewebsite.开发者_Python百科com , but it goes to localhost/somewebsite.com , why its taking relative path.


Your link is missing the protocol at the start of the URL: http:// for pages not using SSL, https:// for pages securing data transfer using SSL.

If you want a link that works in either scenario, you can use // instead of the fully qualified protocol.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号