The page switch entered from the WeChat official account menu fails for the second time

WBOY
Release: 2016-08-27 08:53:52
Original
1786 people have browsed it

Phenomena:

Recently, an e-commerce platform was developed in WeChat. After all interface pages were processed, they were officially deployed to the official account. When customizing the menu on the official account for the platform (such as:.../index.html), I discovered A very interesting question: Which page can be accessed from the official account? When switching pages once or twice, the page.../index.html cannot be switched.

Solution process:

1. I tested the "WeChat Web Developer Tools" and couldn't find any problems even if I clicked on it. It was initially determined that there was no problem with the page;

2. After testing which page in the official account enters the platform, there will be a page that cannot be switched to, and it is initially determined that there is a problem at the entrance;

3. Test using the intermediate page to guide the jump. For example, when entering the homepage in the official account, the link address is a.html and then jump to index.html in a.html. The jump is normal, no problem. , but there are just more pages for intermediate jumps (it feels weird);

4. Baidu read the relevant information, and later learned that the perfect solution is: the page should still be the original initial link address, that is, you have to add an irrelevant parameter when setting the link in the official account, such as:

The link to enter the homepage is.../index.html Then when setting the entry link in the official account, it is.../index.html?form=wechat and the characters ?form=weixinmp can be customized.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!