Force Tumblr to use http link instead of https

自闭症网瘾萝莉.ら 提交于 2019-12-13 01:00:44

问题


I'm aware that it is promoted to use Secure sockets and HTTPS should be used instead of simple HTTP. But the website I developed is hosted on a server, that has definitions for http only. Https would pop out a 404, that is why I want to use http:// instead of https://.

I am currently editing the theme for Tumblr blog of mine, I'm using this code,

<div class="each-object">
   <h4>
     <a href="http://www.aceinternationals.com" 
     target="_blank">2. Ace Internationals</a>
   </h4>
</div>

But when I save it, Tumblr changes the http:// to https:// which would always cause a 404.

Have a look at the code highlighted and the URL (bottom left corner). They're both different.

What should I do, to over come this in Tumblr?


回答1:


There is no way to over come this in Tumblr as the server converts this to https. One trick that I came up with was to use goo.gl and shorten the link with http://.

I converted the link to goo.gl shortened link and then used it in the template. It worked then!

I wonder when Tumblr would allow http:// links.




回答2:


Are you referring to the need for http:// when editing the theme? Because from what I've tested, Tumblr does not convert the actual link to https:// after you save the page. It only does so for the sake of the preview.



来源:https://stackoverflow.com/questions/24350332/force-tumblr-to-use-http-link-instead-of-https

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