由于非https网址,自定义Tumblr主题无法保存吗? [英] Custom Tumblr theme wont save because of non-https urls?

查看:110
本文介绍了由于非https网址,自定义Tumblr主题无法保存吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,昨天我很高兴地编辑了tumblr博客的主题,并且一切正常.今天进入同一个博客,当我单击保存"时,它会显示以下内容: "Un!我们无法保存您的主题.您的自定义主题似乎引用了非HTTPS Urls中的资产.请仅使用HTTPS Urls再试一次." 超级令人困惑,因为自昨天以来未添加任何网址,那时一切都很好.我的其他具有自定义主题的博客也发生了同样的事情.我什至检查并删除了html页面上的所有URL,以查看它是否可以执行任何操作,并且出现相同的警报.发生了什么????

So yesterday i was happily editing the theme of my tumblr blog and everything was working fine. Go into same blog to day and it brings up thsi when i click save: "Un oh! We could't save your theme. Looks like your custom theme references assets from non-HTTPS Urls. Please try again using only HTTPS Urls." Super confusing because not urls have been add since yesterday and everything was fine then. Same thing is happening with my other blogs with custom themes. I even went through and deleted all the urls on the html page just to see if it would do anything and the same alert came up. What is going on ??

请帮助

欢呼声

推荐答案

遇到了同样的问题. Tumblr更新了其加密策略.

Just had the same problem. Tumblr updated their Encryption policies.

如果您是主题开发人员,并且希望确保自己的主题 支持HTTPS,请确保任何外部托管的资源,例如 级联样式表(CSS)或Javascript文件,甚至图像,都是 使用HTTPS进行投放.

If you're a theme developer and you'd like to ensure your themes support HTTPS, make sure that any externally hosted resources, such as Cascading Style Sheets (CSS) or Javascript files, and even images, are served using HTTPS.


现在我们知道Tumblr要求我们使用HTTPS而不是HTTP,这是解决错误的方法:


As we now know that Tumblr requires that we use HTTPS instead of HTTP, here's how can we solve the error:

  1. 确保您位于定制"部分,然后访问编辑HTML":

  1. 在编辑HTML"中,按Ctrl + F(或按设置"按钮,然后按查找并替换"):

  1. 搜索"http"并替换为"https"-将其应用于所有内容.

  1. 由于上一步可能导致某些链接为"httpss",因此需要修复此问题.通过访问查找和替换"并搜索"httpss"并替换为"https".

下面的步骤应该可以解决您的问题.

其他注意事项

  1. 但是,如果没有,还有一些其他注意事项:

例如,当拥有一个时:

<link rel="alternate" href="android-app://com.tumblr/tumblr/x-callback-url/blog?blogName=goncalomperes" />

我们需要将其更改为[添加 https ]:

We will need to change it to [add the https]:

<link rel="alternate" href="android-app:https://com.tumblr/tumblr/x-callback-url/blog?blogName=goncalomperes" />

  1. 根据 Tumblr支持:

又一次更新:现在默认情况下,所有SSL都已打开SSL 在网络上使用我们的官方主题的Tumblrs.即使我们不 推荐它,您仍然可以在博客设置中将其关闭.

Yet another update: SSL is now being turned on by default for ALL Tumblrs that use our Official theme on the web. Even though we don’t recommend it, you can still turn it off in your blog settings.

因此,更改加密"部分以允许SSL应该不是问题.

So changing the Encryption section to allow SSL should not be the problem.

这篇关于由于非https网址,自定义Tumblr主题无法保存吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆