Website in Mobile reading inevitably will encounter transcoding problems, as the domestic search engine boss Baidu, natural to do the leader of the technology, Baidu Transcoding, some sites after transcoding to achieve the desired results, but some websites after Baidu processing is not bear to look directly, many of the content appeared a disorder, Joe's website also appeared some dislocation, so Joe used the WordPress plugin mobilepress, after some Chinese change, feel than Baidu transcoding more suitable for their own.
Method 1, an explicit declaration in HTTP response, Cache-control:no-transform.
Add ' http_cache_control ' = ' private,no-transform ',//Web cache control in the config.php file
Method 2, the meta-tag explicitly declares Cache-control as No-tranform, in the format:
The above is a small series to introduce the thinkphp set to prohibit Baidu and other search engine transcoding (simple and practical) related content, I hope to help you.