301 redirect is performed only on certain browser

Hi everyone :slight_smile:
This morning I noticed a weird behaviour with a 301 redirect with “Page Rules”.

I’ve 2 domains
nausdream.com and 181travel.com

  • nausdream.com DNS managed by Cloudflare
  • 181travel.com DNS managed by bluehost

I’ve configured nausdream.com domain with a 301 permanent redirect to 181travel.com through page rules

curl -I nausdream.com
HTTP/1.1 301 Moved Permanently
Date: Mon, 14 Nov 2022 15:55:02 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Mon, 14 Nov 2022 16:55:02 GMT
Location: https://181travel.com
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=EoO4ZNvy10hFi94QgoKHV8HdD9771r6OGGYC56OoBB3FOUfXL92ZaDM1zjQ85fEaYHUrTb8ysgXmw49RvmWpevGzxMraLq0FZNt6gDWDz7CAS2X%2Bk3Qh4zqorL7sylKa"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 76a0eddeda300a77-AMS
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
curl -I www.nausdream.com
HTTP/1.1 301 Moved Permanently
Date: Mon, 14 Nov 2022 15:55:25 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Mon, 14 Nov 2022 16:55:25 GMT
Location: https://181travel.com
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=lYcJYpuEy%2Bx0NyWDYRD0021KBEGvMN8L8wwy6O75uR0aVGYqdu3Ehh7UNAqeBK3ALrkKdKWe65oj0Y8tO3wG2GaUxPGTnnCvWGzLxs0KS3coBbN%2BmpqBgfPVNKCiBYGL5LOT%2Fw%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 76a0ee6b78876937-FRA
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400

It works on Not-chrome browser but it didn’t works with Chrome based browsers.
Furthermore It seems that sometimes It works also with chrome based browser if firstly I visit 181travel.com and then i visit nausdream.com.

Any thoughts?

Sorry I forgot to post the screenshot of what error I get.

Your browser will have sent an HTTPS request, which your page rules specifically do not cover.

Just follow this tutorial

2 Likes

It works! thank you Sandro.

my new page rules

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.