大网数据广告活动
网站运营与故障问答

Why does my domain redirect in some browsers and not others?

· 52CE 我爱测

I use three domains and two of them redirect to the third. Let's say they are A.org , B.org , and C.org . Last weekend, I changed the redirects from {A.org, B.org} -> C.org to {A.org, C.org} -> B.org . The redirects for domain A.…

问题原文

原帖链接 · emonigma · CC BY-SA 4.0

I use three domains and two of them redirect to the third. Let's say they are A.org, B.org, and C.org. Last weekend, I changed the redirects from {A.org, B.org} -> C.org to {A.org, C.org} -> B.org.

The redirects for domain A.org are unchanged and the domain has these settings on Cloudflare: two A records that redirect A.org and www to 192.0.2.1, proxied by Cloudflare, and a Page Rule that redirects *A.org/* to https://B.org/$2. The redirects for domain C.org now has these same settings.

The issue is that the www routes, https://www.C.org and http://www.C.org, show "Server Not Found" on Firefox and Safari. And yet, the www routes redirect to B.org on Brave browser, and the non-www routes (https://C.org and http://C.org) also redirect to B.org on Firefox and Safari.

For reference, A = atletismoemocional, B = emocoes, C = ginja .

How do I diagnose and fix the problem?

已采纳解答

原帖链接 · emonigma · CC BY-SA 4.0

One day after posting the question, and four days after making the change in domain redirects, I tried the link again today on Firefox and Safari and it worked. So it may have been simply a question of time for Cloudflare to update or for the browsers to clear the cache.

The reason, as in the comment below: "Browsers aggressively cache permanent redirects. Always clear the browser cache when testing them."

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2021-12-08)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。