Deep answer for you how to avoid the domain name being blocked by WeChat. What issues should we pay attention to in the domain name envelope of WeChat?

Keywords: MySQL curl

It is common for domain names to be blocked from sharing promotions in WeChat. Recently, many friends have left messages to me on various forums and blogs asking if I have a solution. Actually, there is no need to ask. There must be a solution.To take the simplest example, our company recently pushed a batch of web advertising links in WeChat, and none of them were blocked for more than a month.This is actually a good proof that there is a way to avoid the domain name being blocked by WeChat, so close-up this article to tell you how we did it.Before that, we have to know what caused the domain name to be blocked by WeChat, and then solve it one by one.

Why is your domain name blocked by WeChat?

1. WeChat will detect systematically, and will automatically intercept your domain name if it detects that your domain name has content that induces sharing, **, sideball (*, false information, etc.).
2. Too many reports from peers or users triggered the WeChat team to detect manually and block your domain name.
3. Share forwarding volume is too large, triggering the system to detect automatically, when content is detected to be in violation, it will be blocked.
4. Usually, as long as WeChat background or manual detection of subject infringement, content infringement, violent content, promotion, marketing information, advertising content, false information content, harassment of content, misleading content, your domain name will be added to the blacklist, user access will prompt "the web page has stopped visiting".

Why is it that content of the same nature is not blocked for others to share and promote, and we are blocked soon?

You will have such a question, why their content is the same nature as others, even the sensitive words are the same inside, others can really promote WeChat without pressure, and their domain name is sealed a little bit when pushed.Usually this is because some people use naked domain names directly to promote, while others protect domain names.

What should I do if this happens?

The way is to use technical means to protect the domain name, so as to protect your domain name effectively.There are two anti-sealing schemes on the market at this stage:
1. Domain Name Detection + WeChat Domain Name Switching (Reverse Jump)
2. Multilevel Matrix Encryption Jump
In contrast, the latter kind of multilevel matrix encryption jump is better and more stable.We've been using 366tool Domain name protection implemented by anti-sealing technology.Here's a code we've studied for your reference:

$url = "http://www.366tool.com";
$params = array(
'appkey' =>'appkey',//APKEY you requested
'url' =>'www.366tool.com',//Websites to Query
);

$paramstring = http_build_query($params);
$content = go51wCurl($url, $paramstring);
$result = json_decode($content, true);
if($result) {
    var_dump($result);
}else {
    //Request Exception
}


/**
    * Request Interface Return Content
    * @param    string $url [Requested URL Address]
    * @param    string $params [Requested Parameters]
    * @param    int $ipost [Is POST Form Used]
    * @return    string
*/
function go51wCurl($url, $params = false, $ispost = 0)
{
    $httpInfo = array();
    $ch = curl_init();

    curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
    curl_setopt($ch, CURLOPT_TIMEOUT, 60);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    if ($ispost) {
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
        curl_setopt($ch, CURLOPT_URL, $url);
    }else {
        if ($params) {
            curl_setopt($ch, CURLOPT_URL, $url.'?'.$params);
        } else {
            curl_setopt($ch, CURLOPT_URL, $url);
        }
    }

    $response = curl_exec($ch);
        if ($response === FALSE) {
        //echo "cURL Error: " . curl_error($ch);
        return false;
    }

    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    $httpInfo = array_merge($httpInfo, curl_getinfo($ch));
    curl_close($ch);
    return $response;
}


Posted by papapax on Wed, 29 May 2019 09:17:47 -0700