diff --git a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page.md b/source/_posts/Baidu-show-308-jump-in-Cloudflare-page.md index f178613d..64590993 100644 --- a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page.md +++ b/source/_posts/Baidu-show-308-jump-in-Cloudflare-page.md @@ -20,14 +20,14 @@ Google 和 百度都没有发现这个解决办法,所以自己写一篇文章 1. 文件验证:下载百度提供的 `.html` 验证文件,放置在网站根目录下。 2. HTML 标签验证:在网站首页的 `` 标签中添加一个特定的 meta 标签,内容由百度提供。 -问题出在 `文件验证` 上。 +问题出在 `文件验证` 上: **Cloudflare Page 会将 `.html 文件请求` 重定向到 `去掉 .html 后缀的地址` 。导致百度收录网站时显示网页 308 跳转。** -![百度报错 308](baidu-html-file.webp) +![百度报错 308](https://pic4.zhimg.com/80/v2-9b2591438a5d35d8ee4ca6e0da4d4f8f_1440w.webp) 如 `https://www.ovvv.top/baidu_verify_codeva-xxx.html` 会自动重定向到 `https://www.ovvv.top/baidu_verify_codeva-xxx`。 -![重定向,没有 .html 后缀](redirect.webp) +![重定向,没有 .html 后缀](https://pic1.zhimg.com/80/v2-d1aad73842196ad68566de57ef0b75e8_1440w.webp) 直接点击浏览器访问 `https://www.ovvv.top/xxx.html` 是看不出问题的,因为浏览器会自动重定向到 `https://www.ovvv.top/xxx`。但是百度收录使用 .html 验证网站所有权时,会显示网页 308 跳转。 @@ -44,11 +44,11 @@ Google 和 百度都没有发现这个解决办法,所以自己写一篇文章 1. 在文件后面加上 `.html` 后缀,两层 `.html` 嵌套,Cloudflare Page 重定向后就会显示 一层 `.html`。 如 Cloudflare Page 文件链接为 `https://www.ovvv.top/xxx.html.html`。这样访问后重定向后就会显示 `https://www.ovvv.top/xxx.html`。符合百度验证的要求。 -![加后缀显示](add-html.webp) + ![加后缀显示](https://pic3.zhimg.com/80/v2-1ca3f5b3bec86e96558b00e51c8aed12_1440w.webp) 2. 使用 `HTML标签验证` 网站所有权。(但是不够优雅,因为每个网页都要加上) -![标签验证](meta-tag.webp) + ![标签验证](https://pic4.zhimg.com/80/v2-6f78f82328de1e68d8537e00143b3b63_1440w.webp) 验证成功 -![成功](success.webp) +![成功](https://pic3.zhimg.com/80/v2-a39791cb2b2b2858e403801fb71af9b6_1440w.webp) diff --git a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/add-html.webp b/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/add-html.webp deleted file mode 100644 index 6dc352fa..00000000 Binary files a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/add-html.webp and /dev/null differ diff --git a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/baidu-html-file.webp b/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/baidu-html-file.webp deleted file mode 100644 index f8b72503..00000000 Binary files a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/baidu-html-file.webp and /dev/null differ diff --git a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/meta-tag.webp b/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/meta-tag.webp deleted file mode 100644 index 691f65f4..00000000 Binary files a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/meta-tag.webp and /dev/null differ diff --git a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/redirect.webp b/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/redirect.webp deleted file mode 100644 index fff0464a..00000000 Binary files a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/redirect.webp and /dev/null differ diff --git a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/success.webp b/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/success.webp deleted file mode 100644 index 7d794132..00000000 Binary files a/source/_posts/Baidu-show-308-jump-in-Cloudflare-page/success.webp and /dev/null differ