子域移动站点未在 iPhone 上显示

问题描述 投票:0回答:0

html5 网站配置是一个独立的桌面,重定向到子域移动网站,站点地图显示了这一点,并且在根目录中也有一个移动站点地图。移动网站没有 jQuery 或脚本。

我的客户告诉我,移动网站无法在 iPhone 上加载。当我的客户在他们的 iPhone 上添加书签时,它可以完全运行,但是当将客户引导至该网站时,它不会出现。

错误读取:错误的请求。客户端需要为此请求建立新连接,因为请求的主机名与用于此连接的服务名称指示 (SNI) 不匹配。我的服务器是Linux。

网站地图:

`<url>
        <loc>https://www.example.com/index.html</loc>
        <lastmod>2021-11-09</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.9</priority>
        <xhtml:link
            rel="alternate"
            media="only screen and (max-width: 750px)"
            href="https://m.example.com/index.html" />
</url>`

桌面页头标签:

<link rel="alternate" media="only screen and (max-width: 750px)" href="https://m.example.com/abrecht-bracket-sloped-ceiling.html" />

Mobile 头部确实有一个规范标签:

<link rel="canonical" href="https://www.example.com/abrecht-bracket-sloped-ceiling.html" />

感谢您的帮助。

我一直在搜索用户如何更换 iPhone 的结果。

在 Stackoverflow 上,许多人有相反的问题,试图停止/阻止子域,或将 iPhone 用作本地设备。

mobile mobile-safari mobile-chrome
© www.soinside.com 2019 - 2024. All rights reserved.