emlog博客新浪微博图片失效解决方法

      emlog博客新浪微博图片失效解决方法无评论

这几天新浪微博开启图库防盗链,影响了好多小的网站。我的WordPress博客就是其中之一,不过已经解决了,详情请看(WordPress博客新浪微博图片失效解决方法),但是我以前的弟弟有用emlog博客程序,还不知道怎么解决。今天就给大家发布一个解决emlog博客新浪微博图片失效解决的方法。

emlog博客与WordPress博客有所区别,需要把代码放到<head></head>之间。

具体方法:(这个方法,你的第三方流量统计会失效)

1、打开模板下的 header.php 文件  

2、在 <head></head>之间 添加下面三行代码即可

<meta name="referrer" content="no-referrer" />
<meta name="referrer" content="never">
<meta name="referrer" content="same-origin" />

还有一种方法是,跟换图片地址的前缀,ww1.sinaimg.com/,ww2.sinaimg.com/,ws1.sinaimg.com/,ws2.sinaimg.com/,wx2.sinaimg.com/,wx1.sinaimg.com/这些前缀的都已经失效。
经测试:tva1.sinaimg.cn/,tva2.sinaimg.cn/这些前缀是新出来的,预计不会失效。
大家可以去我的新浪图床上传测试:tu.fulioh.com

微博图床,已经用了这么长时间了,应该是不会就这么玩完的。

英文:

In the past few days, Sina Weibo has opened the library anti-theft chain, which has affected many small websites. My WordPress blog is one of them, but it has been solved. For details, please see (WordPress blog Sina Weibo image invalidation method), but my former brother used emlog blog program, I don’t know how to solve it. Today, I will post a solution to the inefficiency of the emblog blog Sina Weibo image.
The emlog blog differs from the WordPress blog in that it needs to put the code between <head></head>.

Specific method: (This method, your third-party traffic statistics will be invalid)
1, open the header.php file under the template

2. Add the following three lines of code between <head></head>

<meta name=”referrer” content=”no-referrer” />
<meta name=”referrer” content=”never”>
<meta name=”referrer” content=”same-origin” />
Another way is to change the prefix of the image address, ww1.sinaimg.com/, ww2.sinaimg.com/, ws1.sinaimg.com/, ws2.sinaimg.com/, wx2.sinaimg.com/, wx1. Sinaimg.com/ These prefixes have expired.
Tested: tva1.sinaimg.cn/, tva2.sinaimg.cn/ These prefixes are new and are not expected to expire.
Everyone can go to my Sina map upload test: tu.fulioh.com

The microblog bed has been used for such a long time, and it should not be finished.

发表评论