Clear PC browser access to mobile phone version caused by PC member heart to phone version error-destoon tips

Source: Internet
Author: User

Recent research Destoon, from the computer-side access to the mobile phone will cause the PC members of the heartbeat to the phone version of the error, in step-by-step view of the source code kernel, only to find the problem, so share to everyone!

Join the homepage index.php then visit your website/index.php

Set_cookie (' Mobile ', ', $DT _time + 30*86400); If you want to remove the PC terminal using the emulator to access the phone terminal caused by the PC End Member Center cannot access the settings can open mobile/common.inc.php find the following: if ($_mobile = = "| | $_mobile = = ' pc ') {Set_coo    Kie (' mobile ', ' touch ', $DT _time + 30*86400); } Comment or delete it, this will solve the problem.

There is also a way to: the phone side to re-resolve the binding of a two-level domain name access, can also parse the jump error

As I tested: PC: http://zhimo.yuanzhumuban.cc/and Mobile: http://wap.yuanzhumuban.cc/(this site is only for learning reference sites, used for testing)

If there is a better way, you can say your method in the comment area!


Clear PC browser access to mobile phone version caused by PC member heart to phone version error-destoon tips

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.