The web site on the mobile side of the reading will inevitably encounter transcoding problems, as a domestic search engine boss Baidu, the natural to do the leader of the technology, do Baidu transcoding, some sites after transcoding to achieve the desired results, but some web site after processing is not to be looked at Baidu, a lot of content appeared disorder, Joe's website also appeared some dislocation, so Joe used the WordPress plug-in mobilepress, after some Chinese modification, feeling more than Baidu's 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 ' to the config.php file,//page cache control
Method 2, the META tag explicitly declares Cache-control as No-tranform, in the form:
The above mentioned is a small set of thinkphp to introduce a ban on Baidu and other search engine transcoding (simple and practical) related content, I hope to help you.