Page rule and 307 status

What is the name of the domain?

exmaple.com

What is the error number?

307

What is the error message?

307

What is the issue you’re encountering

I have a page rule to redirect example.com to www.example.com with 301 status. Curl shows 301 redirect as expected but browser is showing 307 redirect. How can I make the browser also see 301 redirect?

What steps have you taken to resolve the issue?

Using page rule to redirect non www version to www

The 307 redirect should be an HTTPS redirect, not the www redirect. Chrome uses this code when it upgrades the request to HTTPS for various reasons (DNS, HSTS).

This could be confirmed if you shared your actual domain.

1 Like

This topic was automatically closed after 15 days. New replies are no longer allowed.