Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the domain name link is blocked and blocked by Wechat

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how domain links are blocked and blocked by Wechat. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

I. the factors in which the domain name was intercepted by Wechat

1. Report. Including user reports, peer malicious reports, submitted to the Wechat team for testing.

2. The forwarding volume is too large. Forwarding is also a necessary means to provide product exposure and click rate, but a large number of retweets will also trigger the automatic detection system of the system and be blocked.

3. Content. Wechat or manual detection of false content, infringement, induced sharing, marketing advertising, BC or edge ball, etc., will cause the domain name to be blacklisted.

Two. the solution can be started from two aspects, one is hard, and the other is soft.

Hard aspect: that is, the server is what many people are doing at present, and many friends who do anti-blocking have the same experience, such as resolving their domain names to the servers of the anti-blocking platform. the weird thing is that the probability of being blocked has indeed been reduced a lot. There are many anti-sealing platforms operated in this form, the first thing to do is the micro-shield, which a group of people did, but now micro-shield is no longer done. This technique is called reverse proxy, but it doesn't last. The main thing to do is to start with the soft side. Here are some details on this aspect:

1. Anti-reporting

Anyway, reporting is a very hurtful thing, because peer competition is very normal, this area to prevent reporting has even been developed Wechat report button through the underlying technology to crack so that the other party can not report. But I heard that the effect is not good, but also inexplicably blocked. So the most simple and rude way to avoid reporting is to jump, so now the prevention of reporting is in the form of encryption + jump, so the probability of being reported is almost very small.

2. Testing tools

Domain name detection tools that do Wechat testing usually provide some anti-blocking, but the effect of anti-blocking is actually very simple. The process is to check whether it is blocked by the detection tool, and if so, to find an unblocked access. So the technology they adopt is detection tool + reverse proxy technology, which is also the mainstream technology in the market at present.

3, the use of short URL intelligence (manual + system) rotational promotion, especially those large sites of short URLs, such as .url and .cn and 10086, so that it is not so easy to be targeted by Wechat, so that you can avoid certain risks, and short URLs are more helpful to let customers remember that they can also prevent tampering.

4. Intelligently change the RUL structure and make the RUL tend to normal link as far as possible, so that the robot generally can not recognize the problem.

5. Domain name switching access threshold processing, when the number of clicks of one domain name reaches a certain value, it is automatically redirected to another domain name for access, so as to avoid being noticed by Wechat.

6, intelligently change the page code structure, and encrypt the page code, which has the advantage of avoiding being included in the Wechat blacklist, which may be a bit difficult to do.

Share the code below for everyone's reference, and more ideas can be shared with me.

Import java.io.BufferedReader;import java.io.DataOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.io.UnsupportedEncodingException;import java.net.HttpURLConnection;import java.net.URL;import java.net.URLEncoder;import java.util.HashMap;import java.util.Map;import net.sf.json.JSONObject;public class Demo {public static final String DEF_CHATSET = "UTF-8"; public static final int DEF_CONN_TIMEOUT = 30000; public static final int DEF_READ_TIMEOUT = 30000 Publicstatic String userAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36"; publicstaticvoidmobileQuery () {String result = null;String url = "http://api.monkeyapi.com";// request interface address Map params = new HashMap (); / / request parameter params.put (" appkey "," appkey ") / / APPKEY params.put ("url", "www.monkeyapi.com") you applied for; / / website to be queried: try {result = net (url, params, "GET"); JSONObject object = JSONObject.fromObject (result); if (object.getInt ("error_code") = = 0) {System.out.println (object.get ("result")) } else {System.out.println (object.get ("error_code") + ":" + object.get ("reason"));}} catch (Exception e) {e.printStackTrace () } publicstaticvoidmain (String [] args) {} / * @ param strUrl request address * @ param params request Parameter * @ param method request method * @ return Network request string * @ throws Exception * / publicstaticStringnet (String strUrl, Mapparams,String method) throws Exception {HttpURLConnection conn = null; BufferedReader reader = null; String rs = null; try {StringBuffer sb = new StringBuffer () If (method==null | | method.equals ("GET")) {strUrl = strUrl+ "?" + urlencode (params);} URL url = new URL (strUrl); conn = (HttpURLConnection) url.openConnection (); if (method==null | | method.equals ("GET")) {conn.setRequestMethod ("GET");} else {conn.setRequestMethod ("POST"); conn.setDoOutput (true) } conn.setRequestProperty ("User-agent", userAgent); conn.setUseCaches (false); conn.setConnectTimeout (DEF_CONN_TIMEOUT); conn.setReadTimeout (DEF_READ_TIMEOUT); conn.setInstanceFollowRedirects (false); conn.connect () If (paramsfolk = null & & method.equals ("POST")) {try {DataOutputStream out = new DataOutputStream (conn.getOutputStream ()); out.writeBytes (urlencode (params));} catch (Exception e) {/ / TODO:handle exception e.printStackTrace ();}} InputStream is = conn.getInputStream () Reader = new BufferedReader (new InputStreamReader (is, DEF_CHATSET)); String strRead = null; while ((strRead = reader.readLine ())! = null) {sb.append (strRead);} rs = sb.toString ();} catch (IOException e) {e.printStackTrace ();} finally {if (reader! = null) {reader.close () } if (conn! = null) {conn.disconnect ();}} return rs;} / / convert map type to request parameter type publicstaticStringurlencode (Map data) {StringBuilder sb = new StringBuilder () For (Map.Entry I: data.entrySet ()) {try {sb.append (i.getKey ()) .append (URLEncoder.encode (i.getValue () + "," UTF-8 ")) .append (" & ");} catch (UnsupportedEncodingException e) {e.printStackTrace ();}} return sb.toString () Thank you for your reading! This is the end of the article on "what to do if the domain name link is blocked by Wechat". I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report