Opening external links in the mini program is achieved through web-view, but any link cannot be opened:
The restrictions are as follows:
Personal type and Overseas mini programs do not support the web-view tag;
The opened page must serve https, including iframe nested ones;
The mini program opens an external web page, and the mini program background configuration business is required Domain name, download the verification file, and then place the verification file under the root directory of the website you want to jump to. In other words, if you want to jump to other people's website pages, you need other people's consent;
There are also restrictions on opening public account articles in small programs. They must be related public accounts, which means that articles from other people’s public accounts cannot be opened;
Recommendation: " Mini Program Development Tutorial"
The above is the detailed content of Why can't mini programs connect to external links?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Dreamweaver Mac version
Visual web development tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.