<!-- /\* Font Definitions \*/ @font-face {font-family:"Cambria Math"; panose-1:0 0 0 0 0 0 0 0 0 0; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:微軟雅黑; panose-1:2 11 5 3 2 2 4 2 2 4; mso-font-charset:134; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2147483001 672087122 22 0 262175 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520081665 -1073717157 41 0 66047 0;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-520092929 1073806591 9 0 415 0;} @font-face {font-family:"\\@微軟雅黑"; panose-1:2 11 5 3 2 2 4 2 2 4; mso-font-charset:134; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2147483001 672087122 22 0 262175 0;} /\* Style Definitions \*/ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; mso-pagination:widow-orphan; layout-grid-mode:char; mso-layout-grid-align:none; font-size:11.0pt; font-family:"Tahoma","sans-serif"; mso-fareast-font-family:微軟雅黑; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} span.hljs-number {mso-style-name:hljs-number; mso-style-unhide:no;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:11.0pt; mso-ansi-font-size:11.0pt; mso-fareast-font-family:微軟雅黑; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-font-kerning:0pt;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:11.0pt;} /\* Page Definitions \*/ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page WordSection1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} /\* List Definitions \*/ @list l0 {mso-list-id:279725072; mso-list-template-ids:-1797495592;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->
不少作H5(QP、BC、CP)的朋友都會常常遇到域名被微信秒封的狀況。致使推廣出去的二維碼和連接用戶打不開,這樣會錯失不少流量。html
這個問題一直讓不少朋友頭疼,由於微信推廣的效率確實很理想,用戶量的裂變也很快,但當投入了大批人力和物力時候,微信卻不聲不響地把域名給封了,致使了以前作的全部推廣工做都白搭了。因此下面咱們就來聊聊H5域名被微信秒封(被攔截、被屏蔽、被和諧)後最好的解決方法。json
1、爲什你的域名會被微信攔截?api
一、微信會有系統檢測,只要檢測到你的域名帶有誘導分享、擦邊球(不良信息、虛假信息等)的內容,就會自動攔截。服務器
二、同行或用戶舉報次數過多,觸發微信團隊人工檢測,手動封殺你的域名。微信
三、分享轉發量過大,觸發系統自動檢測,當檢測到內容有違規的,就會封殺。app
四、一般只要微信後臺或者人工有檢測到主體侵權,內容侵權,暴力內容,推廣、營銷信息、廣告類內容,不實信息內容,騷擾類內容,誤導類內容,就會將你的域名加入黑名單,用戶訪問就會提示「該網頁已中止訪問」。curl
當你們在處理域名報紅問題的時候,會存在兩種狀況,第一種狀況就是本身的域名已經被微信攔截了想申請恢復訪問,第二種就是本身的域名目前仍是能夠正常訪問的,但想要加防封技術,防止後期大力推廣的時候域名被攔截了。ide
二:微信域名檢測+微信域名切換post
你須要有一個微信域名檢測接口,本身開發或是購買均可以。配置好你的接口請求程序,準備2套域名A和B。好比說分享出去的域名是A,這裏面A被稱做是主域名。點開後跳到B,跳轉以前檢測一下B有沒有被封,這裏面的B就稱做是落地域名。一般狀況下落地域名B須要準備幾十甚至上百個,利用域名檢測接口能夠輕鬆實現被封自動切換。檢測接口這個開發文檔可以最快能達到1毫秒/請求來檢測(固然通常也不須要這麼快,請求頻率越高對服務器的要求越高)。而且出現問題會及時進行通知,進行備用域名跳轉,保證落地頁始終是能夠訪問的。測試
三:多級矩陣跳轉
短網址(分享出去的)→主域名→二級域名→三級域名→四級域名(着陸頁)
在這裏須要注意的事,着陸頁的域名儘量長一點。好比主域名是」abc.com「。那到着陸頁可能要作到」ffv5.0766city.com.wx.qq.abc.com/1.html「。把」1.html「作成動態的,讓每一次訪問都不同。爲何要作成動態的呢?由於咱們在實踐過程當中發現,有時候不封域名封連接。可是這種方式仍是會要用到第一種檢測+切換的接口。
具體方案就是屏蔽掉違規內容,讓騰訊沒法檢測到違規內容,最保險的最好還要用技術手段屏蔽掉用戶投訴按鈕。這樣的一整套方案實施後,你們的域名確定會獲得很好的防禦效果。一樣給你們推薦一個比較不錯的測試接口【monkeyapi】,但願能幫助到你。
10.$result = json\_decode($content, true);
11.if($result) {
13.}else {
15.}
16.
17._/**_
求的參數_]_
23._*/_
24.function Curl($url, $params = false, $ispost = 0)
25.{
28.
45.
51.
%�C�D